Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00451/0.00451, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001192/0.001192, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.379/1.379, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8043/0.8043, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 62.38 kB / 0.5813 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1521, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00282/0.155, allocations: 2.003 MB / 0.6616 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1573, allocations: 1.675 MB / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.1574, allocations: 0 / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.678e-05/0.1574, allocations: 19.8 kB / 0.6633 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1576, allocations: 47.55 kB / 0.6633 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1587, allocations: 362.8 kB / 0.6637 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.1589, allocations: 219 kB / 0.6639 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1591, allocations: 57.39 kB / 0.6639 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1592, allocations: 75.84 kB / 0.664 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1594, allocations: 91.66 kB / 0.6641 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.1594, allocations: 20 kB / 0.6641 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007074/0.1601, allocations: 407.5 kB / 0.6645 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.1602, allocations: 43.89 kB / 0.6645 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.034e-05/0.1603, allocations: 83.66 kB / 0.6646 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.1608, allocations: 434.9 kB / 0.665 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1608, allocations: 0 / 0.665 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.013e-06/0.1608, allocations: 0 / 0.665 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1608, allocations: 0 / 0.665 GB, free: 4.723 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.0007504/0.1616, allocations: 0.5225 MB / 0.6656 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1616, allocations: 8.031 kB / 0.6656 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/0.1622, allocations: 88.73 kB / 0.6656 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1623, allocations: 180.1 kB / 0.6658 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.1624, allocations: 50.25 kB / 0.6659 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1625, allocations: 20.12 kB / 0.6659 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.1629, allocations: 178 kB / 0.6661 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1629, allocations: 4 kB / 0.6661 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1629, allocations: 4 kB / 0.6661 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.163, allocations: 4 kB / 0.6661 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.1634, allocations: 184.5 kB / 0.6662 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.1647, allocations: 0.9226 MB / 0.6671 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.1652, allocations: 162.6 kB / 0.6673 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.1654, allocations: 76.83 kB / 0.6674 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/0.1661, allocations: 0.522 MB / 0.6679 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1661, allocations: 38.5 kB / 0.6679 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.1661, allocations: 0 / 0.6679 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007237/0.1669, allocations: 237.7 kB / 0.6681 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1669, allocations: 51.41 kB / 0.6682 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.167, allocations: 158.5 kB / 0.6683 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1671, allocations: 25.7 kB / 0.6684 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.1671, allocations: 119.8 kB / 0.6685 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.1672, allocations: 51.28 kB / 0.6685 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.1673, allocations: 37.7 kB / 0.6686 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.1674, allocations: 330.8 kB / 0.6689 GB, free: 388 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1676, allocations: 71.95 kB / 0.669 GB, free: 316 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.1678, allocations: 101.6 kB / 0.669 GB, free: 208 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.1682, allocations: 156.8 kB / 0.6692 GB, free: 48 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1682, allocations: 0 / 0.6692 GB, free: 48 kB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005108/0.1687, allocations: 217.3 kB / 0.6694 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1688, allocations: 4 kB / 0.6694 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1688, allocations: 0 / 0.6694 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1688, allocations: 0 / 0.6694 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.169, allocations: 44 kB / 0.6695 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1691, allocations: 4 kB / 0.6695 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1693, allocations: 19.83 kB / 0.6695 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1693, allocations: 11.98 kB / 0.6695 GB, free: 15.75 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.0001101/0.1694, allocations: 134.5 kB / 0.6696 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.1694, allocations: 11.81 kB / 0.6696 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.17, allocations: 201.7 kB / 0.6698 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.17, allocations: 4 kB / 0.6698 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.17, allocations: 3.938 kB / 0.6698 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.17, allocations: 0 / 0.6698 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1714, allocations: 0.9846 MB / 0.6708 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1714, allocations: 0 / 0.6708 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1716, allocations: 31.97 kB / 0.6708 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1717, allocations: 0 / 0.6708 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1717, allocations: 12.06 kB / 0.6708 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1717, allocations: 3.938 kB / 0.6708 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1717, allocations: 0 / 0.6708 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.1722, allocations: 281 kB / 0.6711 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.1722, allocations: 97 kB / 0.6712 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1723, allocations: 4 kB / 0.6712 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1725, allocations: 19.92 kB / 0.6712 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1726, allocations: 7.984 kB / 0.6712 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1726, allocations: 4 kB / 0.6712 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.1727, allocations: 122.7 kB / 0.6713 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1727, allocations: 0 / 0.6713 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004452/0.1731, allocations: 131.8 kB / 0.6715 GB, free: 13.5 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.0004192/0.1735, allocations: 231 kB / 0.6717 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004966/0.1741, allocations: 182 kB / 0.6719 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.1741, allocations: 4 kB / 0.6719 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1743, allocations: 79.91 kB / 0.6719 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1747, allocations: 44.14 kB / 0.672 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.1754, allocations: 312.7 kB / 0.6723 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1757, allocations: 0.7086 MB / 0.673 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.1758, allocations: 36.52 kB / 0.673 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.1759, allocations: 23.38 kB / 0.673 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1759, allocations: 0 / 0.673 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.007401/0.1833, allocations: 4.276 MB / 0.6772 GB, free: 7.621 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)