Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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.001739/0.001739, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.002218/0.002218, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.492/1.492, allocations: 230.6 MB / 254.2 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.012/1.012, allocations: 150 MB / 460.2 MB, free: 5.273 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002021/0.002021, allocations: 67.94 kB / 0.6368 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1552, allocations: 89.14 MB / 0.7239 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002814/0.158, allocations: 1.438 MB / 0.7253 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.1586, allocations: 265.4 kB / 0.7255 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.1586, allocations: 0 / 0.7255 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.1586, allocations: 0 / 0.7255 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.1587, allocations: 3.938 kB / 0.7255 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.159, allocations: 59.83 kB / 0.7256 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.887e-05/0.1591, allocations: 27.91 kB / 0.7256 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.1592, allocations: 7.984 kB / 0.7256 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/0.1592, allocations: 15.98 kB / 0.7256 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.1593, allocations: 7.922 kB / 0.7256 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1593, allocations: 4 kB / 0.7256 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1594, allocations: 59.89 kB / 0.7257 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.1594, allocations: 11.92 kB / 0.7257 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1595, allocations: 11.92 kB / 0.7257 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1596, allocations: 52.09 kB / 0.7258 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1596, allocations: 0 / 0.7258 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1596, allocations: 0 / 0.7258 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1596, allocations: 0 / 0.7258 GB, free: 2.051 MB / 0.5294 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.0005558/0.1602, allocations: 355.3 kB / 0.7261 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1602, allocations: 8.031 kB / 0.7261 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.642e-05/0.1602, allocations: 4.188 kB / 0.7261 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.1603, allocations: 30.75 kB / 0.7261 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.1603, allocations: 0.9375 kB / 0.7261 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1605, allocations: 168.3 kB / 0.7263 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1605, allocations: 4.375 kB / 0.7263 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1605, allocations: 4.375 kB / 0.7263 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1607, allocations: 57.92 kB / 0.7264 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1607, allocations: 0 / 0.7264 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1607, allocations: 4 kB / 0.7264 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1607, allocations: 0 / 0.7264 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.1609, allocations: 35.95 kB / 0.7264 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1612, allocations: 244.9 kB / 0.7266 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1614, allocations: 46.48 kB / 0.7267 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.1614, allocations: 16.91 kB / 0.7267 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008341/0.1623, allocations: 457.5 kB / 0.7271 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.1623, allocations: 38.56 kB / 0.7272 GB, free: 344 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1623, allocations: 0 / 0.7272 GB, free: 344 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003823/0.1627, allocations: 77.64 kB / 0.7272 GB, free: 260 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1627, allocations: 55.41 kB / 0.7273 GB, free: 192 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1629, allocations: 97.8 kB / 0.7274 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1629, allocations: 33.77 kB / 0.7274 GB, free: 44 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.1629, allocations: 84.14 kB / 0.7275 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.163, allocations: 7.938 kB / 0.7275 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.163, allocations: 13.72 kB / 0.7275 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002313/0.1632, allocations: 314.8 kB / 0.7278 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.1633, allocations: 15.98 kB / 0.7278 GB, free: 15.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.038e-05/0.1634, allocations: 19.97 kB / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1636, allocations: 44.83 kB / 0.7279 GB, free: 15.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1636, allocations: 0 / 0.7279 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.1638, allocations: 61.66 kB / 0.728 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1638, allocations: 8 kB / 0.728 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1638, allocations: 4 kB / 0.728 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1638, allocations: 7.969 kB / 0.728 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.1639, allocations: 7.984 kB / 0.728 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1639, allocations: 7.938 kB / 0.728 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.164, allocations: 3.953 kB / 0.728 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.164, allocations: 4 kB / 0.728 GB, free: 15.42 MB / 0.545 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 9.198e-05/0.164, allocations: 113.8 kB / 0.7281 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.1641, allocations: 0 / 0.7281 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.1643, allocations: 76.77 kB / 0.7282 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1643, allocations: 0 / 0.7282 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1643, allocations: 0 / 0.7282 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1643, allocations: 0 / 0.7282 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.1645, allocations: 157.6 kB / 0.7283 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1645, allocations: 0 / 0.7283 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.1646, allocations: 15.92 kB / 0.7283 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1646, allocations: 192 / 0.7283 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1646, allocations: 0 / 0.7283 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1646, allocations: 0 / 0.7283 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1646, allocations: 4.031 kB / 0.7284 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1648, allocations: 167.4 kB / 0.7285 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.1649, allocations: 77.11 kB / 0.7286 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1649, allocations: 4 kB / 0.7286 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.165, allocations: 7.984 kB / 0.7286 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.165, allocations: 8.031 kB / 0.7286 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.165, allocations: 0 / 0.7286 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.1651, allocations: 87.2 kB / 0.7287 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1651, allocations: 0 / 0.7287 GB, free: 14.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002583/0.1653, allocations: 15.94 kB / 0.7287 GB, free: 14.61 MB / 0.545 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.0006949/0.166, allocations: 0.7201 MB / 0.7294 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.1663, allocations: 35.97 kB / 0.7294 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1663, allocations: 4.094 kB / 0.7294 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.1663, allocations: 15.98 kB / 0.7295 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1666, allocations: 11.92 kB / 0.7295 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.167, allocations: 143 kB / 0.7296 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1674, allocations: 0.6768 MB / 0.7303 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.1674, allocations: 0 / 0.7303 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1674, allocations: 15.5 kB / 0.7303 GB, free: 12.89 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1674, allocations: 0 / 0.7303 GB, free: 12.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.1862, allocations: 1.556 MB / 0.7318 GB, free: 11.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.549, allocations: 8.203 kB / 0.7318 GB, free: 11.44 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.49601389397867] Failed to read output from testmodel.py, exit status != 0: 8.671443817962427 8.688032785 8.525349017 Calling exit ...