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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005849/0.005849, allocations: 96.7 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.001506/0.001506, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7836/0.7836, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 68 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1513, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003129/0.1544, allocations: 2.022 MB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1569, allocations: 1.66 MB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.1569, allocations: 4 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.704e-05/0.157, allocations: 19.78 kB / 0.6628 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1571, allocations: 47.56 kB / 0.6629 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.1581, allocations: 358.7 kB / 0.6632 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1583, allocations: 227 kB / 0.6634 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1584, allocations: 49.75 kB / 0.6635 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.1586, allocations: 71.84 kB / 0.6635 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1587, allocations: 95.66 kB / 0.6636 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.1588, allocations: 20 kB / 0.6636 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007904/0.1596, allocations: 411.5 kB / 0.664 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.1596, allocations: 43.89 kB / 0.6641 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.1597, allocations: 83.66 kB / 0.6642 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.1603, allocations: 438.6 kB / 0.6646 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1603, allocations: 0 / 0.6646 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1603, allocations: 0 / 0.6646 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.1604, allocations: 0 / 0.6646 GB, free: 8.41 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.0008311/0.1612, allocations: 0.5257 MB / 0.6651 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1612, allocations: 8.031 kB / 0.6651 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.1613, allocations: 50.73 kB / 0.6651 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/0.1619, allocations: 92.73 kB / 0.6652 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.162, allocations: 176.2 kB / 0.6654 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.1621, allocations: 50.19 kB / 0.6654 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.1622, allocations: 23.94 kB / 0.6655 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.1626, allocations: 185.4 kB / 0.6656 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1626, allocations: 0 / 0.6656 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1626, allocations: 4 kB / 0.6656 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1626, allocations: 4 kB / 0.6657 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.1631, allocations: 179.9 kB / 0.6658 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1645, allocations: 0.9111 MB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.165, allocations: 166.6 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.1652, allocations: 84.83 kB / 0.667 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006749/0.1659, allocations: 0.5142 MB / 0.6675 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1659, allocations: 42.48 kB / 0.6675 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.1659, allocations: 0 / 0.6675 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007119/0.1667, allocations: 239.4 kB / 0.6677 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1667, allocations: 55.41 kB / 0.6678 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1669, allocations: 153.9 kB / 0.6679 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1669, allocations: 29.7 kB / 0.668 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.167, allocations: 135.8 kB / 0.6681 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.167, allocations: 43.58 kB / 0.6681 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.1671, allocations: 45.7 kB / 0.6682 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1673, allocations: 322.8 kB / 0.6685 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1675, allocations: 79.95 kB / 0.6686 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1677, allocations: 97.56 kB / 0.6686 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.1681, allocations: 144.2 kB / 0.6688 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1681, allocations: 0 / 0.6688 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005092/0.1686, allocations: 221.5 kB / 0.669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1687, allocations: 7.938 kB / 0.669 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1687, allocations: 3.984 kB / 0.669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1687, allocations: 4.031 kB / 0.669 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.1689, allocations: 35.98 kB / 0.669 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.169, allocations: 3.984 kB / 0.669 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1691, allocations: 27.83 kB / 0.6691 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1692, allocations: 4 kB / 0.6691 GB, free: 3.363 MB / 0.4981 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.0001167/0.1693, allocations: 134.4 kB / 0.6692 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.1693, allocations: 11.95 kB / 0.6692 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005273/0.1699, allocations: 200.2 kB / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1699, allocations: 0 / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1699, allocations: 3.938 kB / 0.6694 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1699, allocations: 0 / 0.6694 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.1714, allocations: 0.974 MB / 0.6704 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1714, allocations: 7.922 kB / 0.6704 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.1716, allocations: 32.05 kB / 0.6704 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1716, allocations: 0 / 0.6704 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1716, allocations: 4 kB / 0.6704 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.1716, allocations: 7.922 kB / 0.6704 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1717, allocations: 0 / 0.6704 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.1722, allocations: 297 kB / 0.6707 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1722, allocations: 85.06 kB / 0.6708 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1723, allocations: 4 kB / 0.6708 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1725, allocations: 15.92 kB / 0.6708 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1725, allocations: 11.98 kB / 0.6708 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1726, allocations: 7.984 kB / 0.6708 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.462e-05/0.1727, allocations: 119.2 kB / 0.6709 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1727, allocations: 4 kB / 0.6709 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00043/0.1731, allocations: 135.5 kB / 0.6711 GB, free: 1.113 MB / 0.4981 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.001113/0.1742, allocations: 0.9426 MB / 0.672 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.1747, allocations: 175.9 kB / 0.6721 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1748, allocations: 0 / 0.6721 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.175, allocations: 87.83 kB / 0.6722 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.1754, allocations: 44.38 kB / 0.6723 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.1782, allocations: 2.069 MB / 0.6743 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1785, allocations: 0.7125 MB / 0.675 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.1786, allocations: 28.5 kB / 0.675 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.1787, allocations: 39.42 kB / 0.6751 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1787, allocations: 0 / 0.6751 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3404/0.5192, allocations: 6.038 MB / 0.681 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.662, allocations: 7.625 kB / 0.681 GB, free: 7.027 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)