Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001251/0.001251, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001372/0.001372, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.988 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.00243/0.00243, allocations: 286 kB / 312.7 MB, free: 2.809 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.132/1.132, allocations: 180.6 MB / 0.5369 GB, free: 13.1 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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",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.002665/0.002665, allocations: 101.2 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1552, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003061/0.1583, allocations: 2.059 MB / 0.8347 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1607, allocations: 1.698 MB / 0.8364 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.1607, allocations: 0 / 0.8364 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.216e-05/0.1608, allocations: 23.8 kB / 0.8364 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1609, allocations: 47.55 kB / 0.8365 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.1619, allocations: 352.4 kB / 0.8368 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1621, allocations: 231.1 kB / 0.837 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1622, allocations: 37.73 kB / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1623, allocations: 83.78 kB / 0.8371 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1625, allocations: 87.72 kB / 0.8372 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1625, allocations: 20 kB / 0.8372 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000771/0.1633, allocations: 427.5 kB / 0.8376 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.1633, allocations: 39.84 kB / 0.8377 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.1634, allocations: 87.66 kB / 0.8378 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.164, allocations: 442.6 kB / 0.8382 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.164, allocations: 0 / 0.8382 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.164, allocations: 0 / 0.8382 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.164, allocations: 0 / 0.8382 GB, free: 3.023 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008125/0.1648, allocations: 457.2 kB / 0.8386 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1649, allocations: 13.34 kB / 0.8386 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.1649, allocations: 50.73 kB / 0.8387 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000535/0.1655, allocations: 88.73 kB / 0.8388 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1656, allocations: 130.3 kB / 0.8389 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.783e-05/0.1657, allocations: 79.95 kB / 0.839 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1657, allocations: 16.38 kB / 0.839 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.1661, allocations: 191.7 kB / 0.8392 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1661, allocations: 0 / 0.8392 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1661, allocations: 8 kB / 0.8392 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1662, allocations: 4 kB / 0.8392 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.1664, allocations: 127.9 kB / 0.8393 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.1678, allocations: 0.6764 MB / 0.84 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.1697, allocations: 326.2 kB / 0.8403 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1699, allocations: 80.75 kB / 0.8404 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004363/0.1703, allocations: 75.92 kB / 0.8404 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1704, allocations: 34.56 kB / 0.8405 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.1704, allocations: 0 / 0.8405 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.00156/0.1719, allocations: 387 kB / 0.8408 GB, free: 168 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.172, allocations: 59.34 kB / 0.8409 GB, free: 96 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1721, allocations: 157 kB / 0.841 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1721, allocations: 29.7 kB / 0.8411 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.1722, allocations: 123.9 kB / 0.8412 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.1723, allocations: 51.52 kB / 0.8412 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.1723, allocations: 41.7 kB / 0.8413 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1725, allocations: 326.8 kB / 0.8416 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.1727, allocations: 79.95 kB / 0.8417 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.1729, allocations: 90.53 kB / 0.8417 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.1732, allocations: 152.7 kB / 0.8419 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1732, allocations: 4 kB / 0.8419 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008381/0.1741, allocations: 297 kB / 0.8422 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1741, allocations: 4 kB / 0.8422 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1741, allocations: 0 / 0.8422 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005058/0.1746, allocations: 121.9 kB / 0.8423 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.1757, allocations: 104 kB / 0.8424 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008193/0.1765, allocations: 0.6381 MB / 0.843 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1767, allocations: 23.92 kB / 0.843 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1767, allocations: 4 kB / 0.843 GB, free: 13.81 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1769, allocations: 126.5 kB / 0.8432 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.1769, allocations: 19.84 kB / 0.8432 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008027/0.1777, allocations: 286.5 kB / 0.8435 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1777, allocations: 0 / 0.8435 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1777, allocations: 0 / 0.8435 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1777, allocations: 4 kB / 0.8435 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.1794, allocations: 0.7027 MB / 0.8441 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1794, allocations: 0 / 0.8441 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.1805, allocations: 96.02 kB / 0.8442 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.1809, allocations: 123.1 kB / 0.8444 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.181, allocations: 8 kB / 0.8444 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007728/0.1817, allocations: 0.6303 MB / 0.845 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/0.1817, allocations: 3.984 kB / 0.845 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008341/0.1826, allocations: 376.2 kB / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.1826, allocations: 11.95 kB / 0.8454 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.1826, allocations: 11.94 kB / 0.8454 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1828, allocations: 11.97 kB / 0.8454 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1829, allocations: 15.98 kB / 0.8454 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1829, allocations: 4 kB / 0.8454 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000104/0.183, allocations: 119.9 kB / 0.8455 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.183, allocations: 0 / 0.8455 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004544/0.1834, allocations: 135.5 kB / 0.8456 GB, free: 11.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.1849, allocations: 1.024 MB / 0.8466 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008441/0.1857, allocations: 223.7 kB / 0.8469 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1857, allocations: 0 / 0.8469 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.1863, allocations: 119.8 kB / 0.847 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.1867, allocations: 51.89 kB / 0.847 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.1903, allocations: 2.219 MB / 0.8492 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1906, allocations: 0.7047 MB / 0.8499 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.676e-05/0.1907, allocations: 25.5 kB / 0.8499 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.1908, allocations: 47.42 kB / 0.8499 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1908, allocations: 0 / 0.8499 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.2239, allocations: 6.892 MB / 0.8567 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.62, allocations: 7.781 kB / 0.8567 GB, free: 15.77 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.537956483000016] Failed to read output from testmodel.py, exit status != 0: 11.733694040001865 11.74865651 11.581809142 Calling exit ...