Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 218.9 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002476/0.002476, allocations: 293 kB / 313.5 MB, free: 2.777 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.244/1.244, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 98.48 kB / 0.7404 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2063, allocations: 95.38 MB / 0.8335 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.003078/0.2094, allocations: 1.467 MB / 0.8349 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000739/0.2101, allocations: 248.1 kB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.2101, allocations: 0 / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.2102, allocations: 0 / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.2102, allocations: 7.922 kB / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.2107, allocations: 59.83 kB / 0.8352 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2108, allocations: 27.86 kB / 0.8353 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2109, allocations: 7.984 kB / 0.8353 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.211, allocations: 8 kB / 0.8353 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.2111, allocations: 15.91 kB / 0.8353 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2111, allocations: 8 kB / 0.8353 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.2113, allocations: 51.95 kB / 0.8353 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.2113, allocations: 4 kB / 0.8354 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.2113, allocations: 19.86 kB / 0.8354 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.2115, allocations: 52.08 kB / 0.8354 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2115, allocations: 0 / 0.8354 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2115, allocations: 0 / 0.8354 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2115, allocations: 0 / 0.8354 GB, free: 6.613 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006453/0.2122, allocations: 266.3 kB / 0.8357 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/0.2122, allocations: 13.94 kB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.086e-05/0.2122, allocations: 4.188 kB / 0.8357 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.2123, allocations: 34.75 kB / 0.8357 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.2123, allocations: 4.891 kB / 0.8357 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2125, allocations: 110.5 kB / 0.8358 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2125, allocations: 384 / 0.8358 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.2126, allocations: 384 / 0.8358 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.2128, allocations: 53.94 kB / 0.8359 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2128, allocations: 3.984 kB / 0.8359 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2128, allocations: 4 kB / 0.8359 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2128, allocations: 0 / 0.8359 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.213, allocations: 31.97 kB / 0.8359 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.2135, allocations: 216 kB / 0.8361 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.2137, allocations: 40.27 kB / 0.8362 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.2138, allocations: 32.84 kB / 0.8362 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.2145, allocations: 75.92 kB / 0.8363 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.2146, allocations: 34.55 kB / 0.8363 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.2146, allocations: 4 kB / 0.8363 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004531/0.215, allocations: 73.66 kB / 0.8364 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.2151, allocations: 51.41 kB / 0.8364 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.2152, allocations: 101.8 kB / 0.8365 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.2152, allocations: 25.7 kB / 0.8366 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.2153, allocations: 88.09 kB / 0.8366 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.2153, allocations: 12.08 kB / 0.8366 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.2154, allocations: 17.64 kB / 0.8367 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.2156, allocations: 314.8 kB / 0.837 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.2156, allocations: 19.92 kB / 0.837 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.2157, allocations: 11.98 kB / 0.837 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.2159, allocations: 52.81 kB / 0.837 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2159, allocations: 0 / 0.837 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002047/0.2161, allocations: 65.61 kB / 0.8371 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2161, allocations: 4 kB / 0.8371 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2161, allocations: 4.172 kB / 0.8371 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2161, allocations: 0 / 0.8371 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.2162, allocations: 8 kB / 0.8371 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2162, allocations: 4.031 kB / 0.8371 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.2163, allocations: 15.91 kB / 0.8371 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2163, allocations: 0 / 0.8371 GB, free: 4.656 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.2164, allocations: 110.4 kB / 0.8372 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2164, allocations: 4 kB / 0.8373 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.2167, allocations: 68.97 kB / 0.8373 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2167, allocations: 32 / 0.8373 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2167, allocations: 7.984 kB / 0.8373 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2167, allocations: 0 / 0.8373 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.2169, allocations: 132.7 kB / 0.8375 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2169, allocations: 0 / 0.8375 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.2169, allocations: 7.984 kB / 0.8375 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2169, allocations: 0 / 0.8375 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2169, allocations: 0 / 0.8375 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.2169, allocations: 4 kB / 0.8375 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2169, allocations: 0 / 0.8375 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.2172, allocations: 175.3 kB / 0.8376 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.2172, allocations: 0 / 0.8376 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2173, allocations: 0 / 0.8376 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.2173, allocations: 7.984 kB / 0.8376 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.2174, allocations: 0 / 0.8376 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.2174, allocations: 0 / 0.8376 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.2174, allocations: 87.31 kB / 0.8377 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2174, allocations: 0 / 0.8377 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002456/0.2177, allocations: 23.92 kB / 0.8377 GB, free: 3.961 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000661/0.2183, allocations: 0.7123 MB / 0.8384 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2186, allocations: 35.95 kB / 0.8385 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2186, allocations: 4 kB / 0.8385 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.2187, allocations: 15.98 kB / 0.8385 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2189, allocations: 17.78 kB / 0.8385 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.2194, allocations: 151.1 kB / 0.8387 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.2199, allocations: 0.6729 MB / 0.8393 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.2199, allocations: 0 / 0.8393 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.2199, allocations: 19.42 kB / 0.8393 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.2199, allocations: 0 / 0.8393 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.2424, allocations: 1.653 MB / 0.8409 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.27, allocations: 10.77 kB / 0.841 GB, free: 0.7305 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.626374212966766] Failed to read output from testmodel.py, exit status != 0: 11.439591440022923 11.470877721999999 11.253056139 Calling exit ...