Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006003/0.006004, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001234/0.001234, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9461/0.9461, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4561, allocations: 80.92 MB / 0.6646 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002706/0.4589, allocations: 2.004 MB / 0.6666 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.4609, allocations: 1.657 MB / 0.6682 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.461, allocations: 6.969 kB / 0.6682 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.799e-05/0.4611, allocations: 21.42 kB / 0.6682 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.948e-05/0.4612, allocations: 53.33 kB / 0.6683 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.4621, allocations: 358 kB / 0.6686 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.4623, allocations: 221 kB / 0.6688 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.4625, allocations: 48.12 kB / 0.6689 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4626, allocations: 80.34 kB / 0.669 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.4628, allocations: 93.16 kB / 0.6691 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.4628, allocations: 18.47 kB / 0.6691 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.4636, allocations: 411.5 kB / 0.6695 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.4637, allocations: 46.02 kB / 0.6695 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.4638, allocations: 89.12 kB / 0.6696 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.4644, allocations: 423.4 kB / 0.67 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4644, allocations: 0 / 0.67 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4644, allocations: 0 / 0.67 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.4644, allocations: 0 / 0.67 GB, free: 3.773 MB / 0.4981 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.0008273/0.4652, allocations: 0.5196 MB / 0.6705 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4653, allocations: 13.44 kB / 0.6705 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006406/0.4659, allocations: 85.58 kB / 0.6706 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.466, allocations: 181.4 kB / 0.6708 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.4661, allocations: 54.25 kB / 0.6708 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.4662, allocations: 21.22 kB / 0.6708 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.4666, allocations: 182.7 kB / 0.671 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4666, allocations: 3.938 kB / 0.671 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.4666, allocations: 5.312 kB / 0.671 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4666, allocations: 3.906 kB / 0.671 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.4671, allocations: 182.7 kB / 0.6712 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.4682, allocations: 0.92 MB / 0.6721 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.4687, allocations: 171.6 kB / 0.6723 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.4688, allocations: 77.36 kB / 0.6723 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/0.4693, allocations: 0.5166 MB / 0.6729 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.4694, allocations: 39.78 kB / 0.6729 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.4694, allocations: 0 / 0.6729 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006819/0.4701, allocations: 227.9 kB / 0.6731 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.4701, allocations: 60.72 kB / 0.6732 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4703, allocations: 167.5 kB / 0.6733 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4703, allocations: 27.61 kB / 0.6733 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.4703, allocations: 122.1 kB / 0.6735 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.4704, allocations: 53.12 kB / 0.6735 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.4705, allocations: 33.89 kB / 0.6735 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.4705, allocations: 329.6 kB / 0.6739 GB, free: 192 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.4707, allocations: 72.62 kB / 0.6739 GB, free: 156 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.4709, allocations: 101.1 kB / 0.674 GB, free: 92 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.4713, allocations: 153.3 kB / 0.6742 GB, free: 4 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4713, allocations: 0 / 0.6742 GB, free: 4 kB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004991/0.4718, allocations: 215 kB / 0.6744 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4718, allocations: 7.562 kB / 0.6744 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4718, allocations: 0.9688 kB / 0.6744 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4718, allocations: 9.188 kB / 0.6744 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.4721, allocations: 39.86 kB / 0.6744 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4721, allocations: 2.156 kB / 0.6744 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.4723, allocations: 23.66 kB / 0.6745 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.4723, allocations: 8.406 kB / 0.6745 GB, free: 15.84 MB / 0.5137 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.0001222/0.4724, allocations: 129.7 kB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.4725, allocations: 11.59 kB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.473, allocations: 195 kB / 0.6748 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.473, allocations: 1.562 kB / 0.6748 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.473, allocations: 4 kB / 0.6748 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.473, allocations: 0 / 0.6748 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.4745, allocations: 0.9812 MB / 0.6758 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4746, allocations: 1.062 kB / 0.6758 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.4748, allocations: 33.97 kB / 0.6758 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.4748, allocations: 5.344 kB / 0.6758 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.4748, allocations: 6.938 kB / 0.6758 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.4748, allocations: 5.375 kB / 0.6758 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4748, allocations: 3.984 kB / 0.6758 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.4753, allocations: 288.5 kB / 0.6761 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.4754, allocations: 85.33 kB / 0.6762 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.4754, allocations: 5.156 kB / 0.6762 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.4756, allocations: 16.17 kB / 0.6762 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.4757, allocations: 20.98 kB / 0.6762 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4757, allocations: 8.703 kB / 0.6762 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.442e-05/0.4758, allocations: 116.6 kB / 0.6763 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4758, allocations: 0 / 0.6763 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005039/0.4763, allocations: 130.4 kB / 0.6764 GB, free: 14.09 MB / 0.5137 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.0005226/0.4768, allocations: 229.1 kB / 0.6767 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.4774, allocations: 173.7 kB / 0.6768 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4774, allocations: 5.562 kB / 0.6768 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.4776, allocations: 79.25 kB / 0.6769 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.4781, allocations: 46.3 kB / 0.677 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.4789, allocations: 322.1 kB / 0.6773 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.4793, allocations: 0.7097 MB / 0.678 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.4795, allocations: 27.22 kB / 0.678 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.4796, allocations: 18.34 kB / 0.678 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of SimCode: time 6.02e-07/0.4796, allocations: 4 kB / 0.678 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.009798/0.4894, allocations: 4.28 MB / 0.6822 GB, free: 10.67 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)