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.005215/0.005215, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001886/0.001886, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7681/0.7681, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.31 kB / 0.5813 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.146, allocations: 80.2 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003147/0.1491, allocations: 2.009 MB / 0.6616 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1515, allocations: 1.675 MB / 0.6633 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.1516, allocations: 0 / 0.6633 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.741e-05/0.1517, allocations: 19.8 kB / 0.6633 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1518, allocations: 47.55 kB / 0.6633 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1529, allocations: 358.8 kB / 0.6637 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1531, allocations: 223.1 kB / 0.6639 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1533, allocations: 53.47 kB / 0.6639 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.538e-05/0.1534, allocations: 79.77 kB / 0.664 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1535, allocations: 87.67 kB / 0.6641 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.1535, allocations: 20 kB / 0.6641 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000801/0.1544, allocations: 415.5 kB / 0.6645 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.1544, allocations: 35.91 kB / 0.6645 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.1545, allocations: 91.64 kB / 0.6646 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.1551, allocations: 434.6 kB / 0.665 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1551, allocations: 0 / 0.665 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1552, allocations: 4 kB / 0.6651 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1552, allocations: 0 / 0.6651 GB, free: 4.836 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.0007137/0.1559, allocations: 0.5217 MB / 0.6656 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.1559, allocations: 12.03 kB / 0.6656 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005158/0.1564, allocations: 88.73 kB / 0.6657 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1566, allocations: 176.2 kB / 0.6658 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.1566, allocations: 50.25 kB / 0.6659 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1567, allocations: 20.12 kB / 0.6659 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.1571, allocations: 186 kB / 0.6661 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1571, allocations: 0 / 0.6661 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1571, allocations: 7.984 kB / 0.6661 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1571, allocations: 7.938 kB / 0.6661 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.1575, allocations: 180.5 kB / 0.6663 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.1588, allocations: 0.9111 MB / 0.6671 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.1593, allocations: 174.5 kB / 0.6673 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.1595, allocations: 76.83 kB / 0.6674 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/0.1601, allocations: 0.5142 MB / 0.6679 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1601, allocations: 38.56 kB / 0.6679 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/0.1601, allocations: 4 kB / 0.6679 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006675/0.1608, allocations: 241.7 kB / 0.6682 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.1608, allocations: 55.41 kB / 0.6682 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.161, allocations: 154.5 kB / 0.6684 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.161, allocations: 33.7 kB / 0.6684 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.1611, allocations: 119.8 kB / 0.6685 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1612, allocations: 55.62 kB / 0.6686 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.1612, allocations: 33.7 kB / 0.6686 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1614, allocations: 330.8 kB / 0.6689 GB, free: 488 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.1616, allocations: 67.97 kB / 0.669 GB, free: 420 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.1618, allocations: 97.61 kB / 0.6691 GB, free: 316 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.1622, allocations: 151.5 kB / 0.6692 GB, free: 160 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1622, allocations: 0 / 0.6692 GB, free: 160 kB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004751/0.1627, allocations: 211.2 kB / 0.6694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1627, allocations: 4 kB / 0.6694 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1627, allocations: 32 / 0.6694 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1627, allocations: 8 kB / 0.6694 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.163, allocations: 39.91 kB / 0.6695 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.163, allocations: 4 kB / 0.6695 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.1632, allocations: 35.75 kB / 0.6695 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.1632, allocations: 4 kB / 0.6695 GB, free: 15.85 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.0001114/0.1633, allocations: 134.5 kB / 0.6696 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.1634, allocations: 11.95 kB / 0.6696 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.1638, allocations: 201.6 kB / 0.6698 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1639, allocations: 0 / 0.6698 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1639, allocations: 0 / 0.6698 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1639, allocations: 0 / 0.6698 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.1652, allocations: 0.9767 MB / 0.6708 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1652, allocations: 4 kB / 0.6708 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.1654, allocations: 35.97 kB / 0.6708 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1654, allocations: 0 / 0.6708 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1654, allocations: 8 kB / 0.6708 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1654, allocations: 3.938 kB / 0.6708 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1654, allocations: 3.938 kB / 0.6708 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.1659, allocations: 297 kB / 0.6711 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.166, allocations: 89.06 kB / 0.6712 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.166, allocations: 0 / 0.6712 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1662, allocations: 19.92 kB / 0.6712 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1663, allocations: 11.98 kB / 0.6712 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1663, allocations: 7.984 kB / 0.6712 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.474e-05/0.1664, allocations: 118.9 kB / 0.6714 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1664, allocations: 0 / 0.6714 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004116/0.1668, allocations: 143.5 kB / 0.6715 GB, free: 13.6 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.0003941/0.1672, allocations: 218.8 kB / 0.6717 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.1677, allocations: 179.8 kB / 0.6719 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1677, allocations: 3.938 kB / 0.6719 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1679, allocations: 80.09 kB / 0.672 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1683, allocations: 45.38 kB / 0.672 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.1689, allocations: 320.4 kB / 0.6723 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1692, allocations: 0.7086 MB / 0.673 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.1693, allocations: 32.11 kB / 0.673 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.1694, allocations: 23.38 kB / 0.6731 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1694, allocations: 0 / 0.6731 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.007818/0.1772, allocations: 4.29 MB / 0.6772 GB, free: 7.715 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)