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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002367/0.002367, allocations: 282.8 kB / 306.6 MB, free: 8.336 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.187/1.187, allocations: 180.9 MB / 0.53 GB, free: 14.46 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 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor")
translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 102.1 kB / 0.7308 GB, free: 39.04 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1527, allocations: 94.2 MB / 0.8228 GB, free: 1.828 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003056/0.1558, allocations: 2.024 MB / 0.8248 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.002494/0.1583, allocations: 1.687 MB / 0.8265 GB, free: 14.1 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.1583, allocations: 0 / 0.8265 GB, free: 14.1 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 5.947e-05/0.1584, allocations: 19.84 kB / 0.8265 GB, free: 14.08 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.1585, allocations: 51.55 kB / 0.8265 GB, free: 14.03 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008989/0.1594, allocations: 350.8 kB / 0.8269 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1596, allocations: 231 kB / 0.8271 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1597, allocations: 29.67 kB / 0.8271 GB, free: 13.42 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.1598, allocations: 79.84 kB / 0.8272 GB, free: 13.34 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.16, allocations: 91.66 kB / 0.8273 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.16, allocations: 24 kB / 0.8273 GB, free: 13.23 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007752/0.1608, allocations: 419.5 kB / 0.8277 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.1608, allocations: 43.89 kB / 0.8277 GB, free: 12.78 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.1609, allocations: 87.59 kB / 0.8278 GB, free: 12.69 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.1615, allocations: 438.5 kB / 0.8282 GB, free: 12.26 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1615, allocations: 0 / 0.8282 GB, free: 12.26 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.383e-06/0.1615, allocations: 0 / 0.8282 GB, free: 12.26 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.004e-05/0.1615, allocations: 0 / 0.8282 GB, free: 12.26 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.000804/0.1623, allocations: 465.2 kB / 0.8287 GB, free: 11.77 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1624, allocations: 12.62 kB / 0.8287 GB, free: 11.76 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000535/0.1629, allocations: 84.78 kB / 0.8288 GB, free: 11.68 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.163, allocations: 118.4 kB / 0.8289 GB, free: 11.54 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.1631, allocations: 50.25 kB / 0.8289 GB, free: 11.48 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.1631, allocations: 20.38 kB / 0.829 GB, free: 11.46 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.1635, allocations: 179.3 kB / 0.8291 GB, free: 11.28 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1636, allocations: 7.938 kB / 0.8291 GB, free: 11.27 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.1636, allocations: 8 kB / 0.8291 GB, free: 11.27 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1636, allocations: 4 kB / 0.8291 GB, free: 11.26 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.164, allocations: 187.5 kB / 0.8293 GB, free: 11.08 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.1653, allocations: 0.5895 MB / 0.8299 GB, free: 10.44 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.1658, allocations: 162.5 kB / 0.8301 GB, free: 10.27 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.166, allocations: 64.83 kB / 0.8301 GB, free: 10.21 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/0.1665, allocations: 83.89 kB / 0.8302 GB, free: 10.12 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1665, allocations: 34.56 kB / 0.8302 GB, free: 10.08 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.1665, allocations: 0 / 0.8302 GB, free: 10.08 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=14): time 0.0007059/0.1672, allocations: 237.8 kB / 0.8305 GB, free: 9.844 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1672, allocations: 51.41 kB / 0.8305 GB, free: 9.781 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1674, allocations: 164.9 kB / 0.8307 GB, free: 9.613 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1674, allocations: 29.7 kB / 0.8307 GB, free: 9.578 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.1675, allocations: 123.8 kB / 0.8308 GB, free: 9.453 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.1675, allocations: 43.64 kB / 0.8308 GB, free: 9.41 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.1676, allocations: 37.66 kB / 0.8309 GB, free: 9.367 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001345/0.1678, allocations: 330.8 kB / 0.8312 GB, free: 9.035 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.168, allocations: 71.95 kB / 0.8313 GB, free: 8.965 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1682, allocations: 91.56 kB / 0.8314 GB, free: 8.871 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.1686, allocations: 149.7 kB / 0.8315 GB, free: 8.719 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.1686, allocations: 3.938 kB / 0.8315 GB, free: 8.715 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005042/0.1691, allocations: 219.3 kB / 0.8317 GB, free: 8.496 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1691, allocations: 10.03 kB / 0.8317 GB, free: 8.488 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1691, allocations: 3.938 kB / 0.8317 GB, free: 8.484 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1691, allocations: 0 / 0.8317 GB, free: 8.484 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.1694, allocations: 43.94 kB / 0.8318 GB, free: 8.441 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1694, allocations: 0 / 0.8318 GB, free: 8.441 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.1696, allocations: 27.88 kB / 0.8318 GB, free: 8.414 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1696, allocations: 4 kB / 0.8318 GB, free: 8.41 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (20):
 * Single equations (assignments): 20
 * 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.0001169/0.1697, allocations: 126.4 kB / 0.8319 GB, free: 8.277 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.1697, allocations: 15.91 kB / 0.8319 GB, free: 8.262 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005247/0.1703, allocations: 212.6 kB / 0.8321 GB, free: 8.051 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1703, allocations: 4 kB / 0.8321 GB, free: 8.047 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1703, allocations: 0 / 0.8321 GB, free: 8.047 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1703, allocations: 0 / 0.8321 GB, free: 8.047 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.1716, allocations: 0.5732 MB / 0.8327 GB, free: 7.418 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1716, allocations: 0 / 0.8327 GB, free: 7.418 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1718, allocations: 35.91 kB / 0.8327 GB, free: 7.383 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1718, allocations: 4 kB / 0.8327 GB, free: 7.379 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1718, allocations: 4.062 kB / 0.8327 GB, free: 7.375 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1718, allocations: 0 / 0.8327 GB, free: 7.375 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1718, allocations: 8 kB / 0.8327 GB, free: 7.367 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.1723, allocations: 289.1 kB / 0.833 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.1723, allocations: 23.83 kB / 0.833 GB, free: 7.039 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.1724, allocations: 8 kB / 0.8331 GB, free: 7.031 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.1726, allocations: 7.984 kB / 0.8331 GB, free: 7.023 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1726, allocations: 19.86 kB / 0.8331 GB, free: 7.004 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1727, allocations: 11.98 kB / 0.8331 GB, free: 6.992 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 9.109e-05/0.1727, allocations: 116.7 kB / 0.8332 GB, free: 6.879 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1727, allocations: 0 / 0.8332 GB, free: 6.879 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0004455/0.1732, allocations: 127.6 kB / 0.8333 GB, free: 6.754 MB / 0.5762 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 (14):
 * Single equations (assignments): 14
 * 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.0004026/0.1736, allocations: 218.8 kB / 0.8335 GB, free: 6.531 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0004776/0.1741, allocations: 171.8 kB / 0.8337 GB, free: 6.363 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1741, allocations: 7.938 kB / 0.8337 GB, free: 6.355 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1743, allocations: 71.91 kB / 0.8338 GB, free: 6.285 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1747, allocations: 49.02 kB / 0.8338 GB, free: 6.238 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.1753, allocations: 329.1 kB / 0.8341 GB, free: 5.883 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1756, allocations: 0.7047 MB / 0.8348 GB, free: 5.152 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001451/0.1758, allocations: 30.73 kB / 0.8349 GB, free: 5.129 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.1758, allocations: 15.44 kB / 0.8349 GB, free: 5.113 MB / 0.5762 GB
Notification: Performance of SimCode: time 4.21e-07/0.1758, allocations: 4 kB / 0.8349 GB, free: 5.109 MB / 0.5762 GB
Notification: Performance of Templates: time 0.008453/0.1843, allocations: 4.41 MB / 0.8392 GB, free: 0.7578 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660]
(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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.896437732502818]
Failed to read output from testmodel.py, exit status != 0:
0.19160598702728748 0.20545706100000002 0.041033367
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2ca75e17b0>