Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001674/0.001674, allocations: 93.73 kB / 16.67 MB, free: 6.586 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.001687/0.001687, allocations: 178.2 kB / 17.58 MB, free: 6.184 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.383/1.383, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7343/0.7343, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4494, allocations: 77.51 MB / 0.5606 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002268/0.4517, allocations: 1.707 MB / 0.5622 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.4541, allocations: 1.707 MB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.4542, allocations: 3.125 kB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.4542, allocations: 11.61 kB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.4544, allocations: 51.44 kB / 0.564 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.4554, allocations: 292.3 kB / 0.5643 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.4556, allocations: 213.2 kB / 0.5645 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4558, allocations: 41.47 kB / 0.5645 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4559, allocations: 72.64 kB / 0.5646 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.4561, allocations: 82.55 kB / 0.5646 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.4561, allocations: 9.875 kB / 0.5647 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008765/0.457, allocations: 385.1 kB / 0.565 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.4571, allocations: 30.31 kB / 0.565 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.4572, allocations: 109.3 kB / 0.5652 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.4577, allocations: 314.2 kB / 0.5655 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4577, allocations: 1.344 kB / 0.5655 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4577, allocations: 0 / 0.5655 GB, free: 32.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4577, allocations: 0 / 0.5655 GB, free: 32.44 MB / 446.1 MB 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.0007895/0.4585, allocations: 497.5 kB / 0.5659 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4586, allocations: 10.41 kB / 0.5659 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.4592, allocations: 102.1 kB / 0.566 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.4593, allocations: 181.7 kB / 0.5662 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.4594, allocations: 49.58 kB / 0.5663 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.4594, allocations: 14.94 kB / 0.5663 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.4599, allocations: 184 kB / 0.5664 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4599, allocations: 3.938 kB / 0.5664 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.46, allocations: 9.969 kB / 0.5665 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.46, allocations: 4.281 kB / 0.5665 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.4605, allocations: 197.7 kB / 0.5667 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.4619, allocations: 0.9198 MB / 0.5675 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.4626, allocations: 190.2 kB / 0.5677 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.4628, allocations: 83.78 kB / 0.5678 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.4634, allocations: 0.5141 MB / 0.5683 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4634, allocations: 37.14 kB / 0.5683 GB, free: 30.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.4634, allocations: 1.375 kB / 0.5683 GB, free: 30.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000777/0.4642, allocations: 248.4 kB / 0.5686 GB, free: 29.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.4643, allocations: 53.78 kB / 0.5686 GB, free: 29.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.4644, allocations: 162.3 kB / 0.5688 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.4645, allocations: 32.8 kB / 0.5688 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.4645, allocations: 114.9 kB / 0.5689 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.4646, allocations: 52.73 kB / 0.569 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.4646, allocations: 24.89 kB / 0.569 GB, free: 29.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.4647, allocations: 328.5 kB / 0.5693 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.4649, allocations: 75.48 kB / 0.5694 GB, free: 29.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.4652, allocations: 99.42 kB / 0.5695 GB, free: 29.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.4656, allocations: 154 kB / 0.5696 GB, free: 29.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4656, allocations: 6.328 kB / 0.5696 GB, free: 29.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005127/0.4661, allocations: 219 kB / 0.5698 GB, free: 29.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4661, allocations: 7.125 kB / 0.5699 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4662, allocations: 2.984 kB / 0.5699 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4662, allocations: 2.062 kB / 0.5699 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.4665, allocations: 45.28 kB / 0.5699 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4665, allocations: 5.359 kB / 0.5699 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.4667, allocations: 24.86 kB / 0.5699 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.4667, allocations: 9.234 kB / 0.5699 GB, free: 28.99 MB / 446.1 MB 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.000103/0.4668, allocations: 125 kB / 0.5701 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.4668, allocations: 15.88 kB / 0.5701 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.4674, allocations: 204.4 kB / 0.5703 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4674, allocations: 3.406 kB / 0.5703 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4674, allocations: 0.6562 kB / 0.5703 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4674, allocations: 5.547 kB / 0.5703 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.4688, allocations: 0.9899 MB / 0.5712 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4688, allocations: 3.25 kB / 0.5712 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.469, allocations: 30.17 kB / 0.5713 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.469, allocations: 6.281 kB / 0.5713 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.4691, allocations: 3.641 kB / 0.5713 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4691, allocations: 1.281 kB / 0.5713 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4691, allocations: 1.766 kB / 0.5713 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.4696, allocations: 298.4 kB / 0.5716 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.4696, allocations: 96.16 kB / 0.5717 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.4697, allocations: 7.953 kB / 0.5717 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4699, allocations: 20.06 kB / 0.5717 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.47, allocations: 12.88 kB / 0.5717 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.47, allocations: 18.95 kB / 0.5717 GB, free: 27.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.4701, allocations: 120.8 kB / 0.5718 GB, free: 27.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4701, allocations: 0.875 kB / 0.5718 GB, free: 27.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005916/0.4707, allocations: 126.1 kB / 0.572 GB, free: 27.41 MB / 446.1 MB 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.0004703/0.4712, allocations: 225.8 kB / 0.5722 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.4717, allocations: 185.1 kB / 0.5724 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4717, allocations: 0 / 0.5724 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4719, allocations: 86.3 kB / 0.5724 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.4724, allocations: 45.92 kB / 0.5725 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.4731, allocations: 435.7 kB / 0.5729 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4733, allocations: 0.7119 MB / 0.5736 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.4733, allocations: 21.89 kB / 0.5736 GB, free: 26.19 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4734, allocations: 0 / 0.5736 GB, free: 26.19 MB / 446.1 MB Notification: Performance of Templates: time 0.007953/0.4813, allocations: 3.828 MB / 0.5773 GB, free: 25.81 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)