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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 105 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002237/0.002237, allocations: 289.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9644/0.9644, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 91.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4592, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003154/0.4624, allocations: 2 MB / 0.769 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.4648, allocations: 1.67 MB / 0.7706 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.4649, allocations: 0 / 0.7706 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.824e-05/0.465, allocations: 19.8 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.4651, allocations: 47.55 kB / 0.7707 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.4662, allocations: 362.8 kB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.4665, allocations: 223.1 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.4666, allocations: 61.09 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.4667, allocations: 79.78 kB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.4669, allocations: 91.66 kB / 0.7715 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.4669, allocations: 16 kB / 0.7715 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007781/0.4677, allocations: 415.5 kB / 0.7719 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.4678, allocations: 35.91 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.4679, allocations: 87.64 kB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.4685, allocations: 433.5 kB / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4685, allocations: 0 / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4685, allocations: 0 / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4685, allocations: 0 / 0.7724 GB, free: 14.42 MB / 0.545 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.0008181/0.4693, allocations: 0.5186 MB / 0.7729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4694, allocations: 12.03 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.47, allocations: 88.64 kB / 0.773 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.4701, allocations: 176.2 kB / 0.7732 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.133e-05/0.4702, allocations: 50.25 kB / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4702, allocations: 20.38 kB / 0.7732 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.4707, allocations: 178.1 kB / 0.7734 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4707, allocations: 3.938 kB / 0.7734 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.4707, allocations: 8 kB / 0.7734 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4707, allocations: 4 kB / 0.7734 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.4712, allocations: 179.8 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.4726, allocations: 0.911 MB / 0.7745 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.4731, allocations: 170.5 kB / 0.7747 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.4733, allocations: 84.83 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/0.474, allocations: 0.5142 MB / 0.7752 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.474, allocations: 38.55 kB / 0.7753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.474, allocations: 4 kB / 0.7753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007046/0.4747, allocations: 232.1 kB / 0.7755 GB, free: 10.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.4748, allocations: 51.41 kB / 0.7755 GB, free: 10.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.4749, allocations: 161.7 kB / 0.7757 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.475, allocations: 29.7 kB / 0.7757 GB, free: 10.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.4751, allocations: 127.7 kB / 0.7759 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.4751, allocations: 43.36 kB / 0.7759 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.4752, allocations: 45.66 kB / 0.7759 GB, free: 10.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4753, allocations: 318.8 kB / 0.7762 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.4755, allocations: 71.97 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.4758, allocations: 100.4 kB / 0.7764 GB, free: 9.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.4761, allocations: 149.9 kB / 0.7765 GB, free: 9.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4762, allocations: 3.938 kB / 0.7766 GB, free: 9.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005015/0.4767, allocations: 219.7 kB / 0.7768 GB, free: 9.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4767, allocations: 8.031 kB / 0.7768 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4767, allocations: 0 / 0.7768 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4767, allocations: 3.984 kB / 0.7768 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.477, allocations: 31.98 kB / 0.7768 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.477, allocations: 7.984 kB / 0.7768 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.4772, allocations: 27.83 kB / 0.7768 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.4772, allocations: 4 kB / 0.7768 GB, free: 9.457 MB / 0.545 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.0001318/0.4773, allocations: 144 kB / 0.777 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.4774, allocations: 11.81 kB / 0.777 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.4779, allocations: 194.4 kB / 0.7772 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4779, allocations: 0 / 0.7772 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4779, allocations: 3.938 kB / 0.7772 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.478, allocations: 4 kB / 0.7772 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.4794, allocations: 0.9856 MB / 0.7781 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4794, allocations: 0 / 0.7781 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.4796, allocations: 31.97 kB / 0.7782 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4796, allocations: 0 / 0.7782 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.4796, allocations: 8 kB / 0.7782 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4797, allocations: 0 / 0.7782 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4797, allocations: 3.984 kB / 0.7782 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.4802, allocations: 301.1 kB / 0.7785 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.4802, allocations: 88.92 kB / 0.7786 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4803, allocations: 3.938 kB / 0.7786 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.4805, allocations: 15.98 kB / 0.7786 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.4805, allocations: 11.92 kB / 0.7786 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.4806, allocations: 15.98 kB / 0.7786 GB, free: 7.438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.66e-05/0.4807, allocations: 121.9 kB / 0.7787 GB, free: 7.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4807, allocations: 0 / 0.7787 GB, free: 7.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004683/0.4811, allocations: 127.9 kB / 0.7788 GB, free: 7.195 MB / 0.545 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.0004321/0.4816, allocations: 223 kB / 0.7791 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.4821, allocations: 178.6 kB / 0.7792 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4821, allocations: 0 / 0.7792 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.4823, allocations: 87.97 kB / 0.7793 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.4827, allocations: 40.72 kB / 0.7793 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.4834, allocations: 346.5 kB / 0.7797 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4837, allocations: 0.7047 MB / 0.7804 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.4838, allocations: 31.42 kB / 0.7804 GB, free: 5.535 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.4839, allocations: 7.938 kB / 0.7804 GB, free: 5.527 MB / 0.545 GB Notification: Performance of Templates: time 0.006024/0.4899, allocations: 3.865 MB / 0.7842 GB, free: 1.695 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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)