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.001406/0.001406, allocations: 97.69 kB / 19.58 MB, free: 2.324 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.0015/0.0015, allocations: 188.9 kB / 22.85 MB, free: 5.652 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.301/1.301, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] 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.002376/0.002376, allocations: 284.7 kB / 307 MB, free: 8.434 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.124/1.124, allocations: 180.8 MB / 0.5304 GB, free: 14.55 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.002633/0.002633, allocations: 98.38 kB / 0.7311 GB, free: 38.61 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1424, allocations: 94.2 MB / 0.8231 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003121/0.1455, allocations: 2.032 MB / 0.8251 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.1479, allocations: 1.66 MB / 0.8267 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.148, allocations: 0 / 0.8267 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.871e-05/0.148, allocations: 27.78 kB / 0.8267 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.533e-05/0.1481, allocations: 47.55 kB / 0.8267 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.149, allocations: 357.4 kB / 0.8271 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.1492, allocations: 227 kB / 0.8273 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1493, allocations: 37.66 kB / 0.8273 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.1494, allocations: 83.78 kB / 0.8274 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1496, allocations: 91.66 kB / 0.8275 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.1496, allocations: 20 kB / 0.8275 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007051/0.1503, allocations: 415.5 kB / 0.8279 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1504, allocations: 47.89 kB / 0.828 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.1504, allocations: 83.66 kB / 0.828 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.151, allocations: 434.5 kB / 0.8285 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.151, allocations: 0 / 0.8285 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.151, allocations: 4 kB / 0.8285 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.151, allocations: 0 / 0.8285 GB, free: 12.33 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.0007513/0.1518, allocations: 457.2 kB / 0.8289 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1518, allocations: 8.625 kB / 0.8289 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005297/0.1523, allocations: 92.73 kB / 0.829 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1524, allocations: 122.4 kB / 0.8291 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.1525, allocations: 46.25 kB / 0.8292 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.1525, allocations: 16.38 kB / 0.8292 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.1529, allocations: 179.3 kB / 0.8293 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1529, allocations: 3.938 kB / 0.8293 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.153, allocations: 8 kB / 0.8294 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.153, allocations: 4 kB / 0.8294 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.1534, allocations: 187.6 kB / 0.8295 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1546, allocations: 0.5933 MB / 0.8301 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.155, allocations: 154.5 kB / 0.8303 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.1552, allocations: 76.81 kB / 0.8303 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/0.1557, allocations: 71.92 kB / 0.8304 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1557, allocations: 34.5 kB / 0.8304 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1557, allocations: 4 kB / 0.8304 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006432/0.1563, allocations: 237.8 kB / 0.8307 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1564, allocations: 51.41 kB / 0.8307 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1565, allocations: 156.9 kB / 0.8309 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1565, allocations: 29.7 kB / 0.8309 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.1566, allocations: 131.8 kB / 0.831 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.1567, allocations: 43.64 kB / 0.8311 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.1567, allocations: 41.66 kB / 0.8311 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1569, allocations: 326.8 kB / 0.8314 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1571, allocations: 71.97 kB / 0.8315 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.1573, allocations: 107.6 kB / 0.8316 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1576, allocations: 143.9 kB / 0.8317 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1576, allocations: 3.938 kB / 0.8317 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004718/0.1581, allocations: 213.4 kB / 0.8319 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1581, allocations: 8 kB / 0.8319 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.1581, allocations: 4.031 kB / 0.8319 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1581, allocations: 0 / 0.8319 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1584, allocations: 35.97 kB / 0.832 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1584, allocations: 7.984 kB / 0.832 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.1585, allocations: 27.88 kB / 0.832 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1586, allocations: 7.984 kB / 0.832 GB, free: 8.48 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.0001246/0.1587, allocations: 134.3 kB / 0.8321 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.1587, allocations: 19.91 kB / 0.8322 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.1592, allocations: 200.7 kB / 0.8324 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1592, allocations: 7.938 kB / 0.8324 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1592, allocations: 0 / 0.8324 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1592, allocations: 0 / 0.8324 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.1605, allocations: 0.5732 MB / 0.8329 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1605, allocations: 0 / 0.8329 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.1606, allocations: 28.05 kB / 0.833 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1606, allocations: 4 kB / 0.833 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1607, allocations: 3.984 kB / 0.833 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1607, allocations: 0 / 0.833 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1607, allocations: 4 kB / 0.833 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.1611, allocations: 297 kB / 0.8332 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.1612, allocations: 15.84 kB / 0.8333 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1612, allocations: 8 kB / 0.8333 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1614, allocations: 11.97 kB / 0.8333 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1614, allocations: 19.92 kB / 0.8333 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1614, allocations: 4 kB / 0.8333 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.385e-05/0.1615, allocations: 120.7 kB / 0.8334 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1615, allocations: 0 / 0.8334 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004242/0.162, allocations: 127.6 kB / 0.8335 GB, free: 6.832 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.0003864/0.1624, allocations: 230.7 kB / 0.8338 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.1628, allocations: 155.9 kB / 0.8339 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1628, allocations: 7.938 kB / 0.8339 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.163, allocations: 76.08 kB / 0.834 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1634, allocations: 48.47 kB / 0.834 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.164, allocations: 329.2 kB / 0.8343 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1643, allocations: 0.7086 MB / 0.835 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.1645, allocations: 30.48 kB / 0.8351 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.1645, allocations: 23.42 kB / 0.8351 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1645, allocations: 0 / 0.8351 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.008229/0.1728, allocations: 4.398 MB / 0.8394 GB, free: 0.8359 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5678215169973555] Failed to read output from testmodel.py, exit status != 0: 0.1798976420031977 0.19394438 0.040088702000000004 Calling exit ...