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.007224/0.007225, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001146/0.001146, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7253/0.7253, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 72.05 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003165/0.1607, allocations: 1.999 MB / 0.6612 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1631, allocations: 1.679 MB / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.1632, allocations: 0 / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.316e-05/0.1633, allocations: 19.8 kB / 0.6628 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1634, allocations: 47.55 kB / 0.6629 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1645, allocations: 354.8 kB / 0.6632 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.1648, allocations: 223 kB / 0.6634 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.165, allocations: 57.73 kB / 0.6635 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1651, allocations: 71.84 kB / 0.6635 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1653, allocations: 91.66 kB / 0.6636 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.1653, allocations: 20 kB / 0.6636 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.1661, allocations: 407.5 kB / 0.664 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1661, allocations: 39.89 kB / 0.6641 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.1662, allocations: 87.66 kB / 0.6641 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.1669, allocations: 442.5 kB / 0.6646 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1669, allocations: 0 / 0.6646 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1669, allocations: 4 kB / 0.6646 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.1669, allocations: 0 / 0.6646 GB, free: 8.465 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.0008599/0.1678, allocations: 0.5179 MB / 0.6651 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1678, allocations: 12.03 kB / 0.6651 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.1679, allocations: 46.73 kB / 0.6651 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005948/0.1685, allocations: 96.69 kB / 0.6652 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1687, allocations: 184.1 kB / 0.6654 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/0.1688, allocations: 46.25 kB / 0.6654 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1688, allocations: 23.94 kB / 0.6655 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.1692, allocations: 181.4 kB / 0.6656 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1692, allocations: 0 / 0.6656 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.1693, allocations: 8 kB / 0.6657 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1693, allocations: 4 kB / 0.6657 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.1697, allocations: 183.8 kB / 0.6658 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.1711, allocations: 0.9111 MB / 0.6667 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.1716, allocations: 170.5 kB / 0.6669 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.1718, allocations: 80.83 kB / 0.667 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/0.1724, allocations: 0.5181 MB / 0.6675 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1725, allocations: 38.56 kB / 0.6675 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1725, allocations: 0 / 0.6675 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.000698/0.1732, allocations: 243.6 kB / 0.6677 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.1732, allocations: 51.41 kB / 0.6678 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1734, allocations: 154.5 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1734, allocations: 29.7 kB / 0.668 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.1735, allocations: 135.8 kB / 0.6681 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.1735, allocations: 43.62 kB / 0.6681 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.1736, allocations: 37.7 kB / 0.6682 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1737, allocations: 326.8 kB / 0.6685 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.174, allocations: 75.95 kB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.1742, allocations: 99.86 kB / 0.6686 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1746, allocations: 145.7 kB / 0.6688 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1746, allocations: 3.938 kB / 0.6688 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005008/0.1751, allocations: 212 kB / 0.669 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1751, allocations: 12.03 kB / 0.669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1751, allocations: 0 / 0.669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1751, allocations: 0 / 0.669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.1754, allocations: 39.91 kB / 0.669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1754, allocations: 0 / 0.669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1756, allocations: 31.83 kB / 0.6691 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1756, allocations: 4 kB / 0.6691 GB, free: 3.422 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.0001132/0.1757, allocations: 126.4 kB / 0.6692 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.1758, allocations: 19.94 kB / 0.6692 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.1763, allocations: 197.6 kB / 0.6694 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.1763, allocations: 4 kB / 0.6694 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1764, allocations: 0 / 0.6694 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1764, allocations: 7.922 kB / 0.6694 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.1778, allocations: 0.9779 MB / 0.6704 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1778, allocations: 4.062 kB / 0.6704 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.178, allocations: 31.91 kB / 0.6704 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.178, allocations: 4 kB / 0.6704 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.178, allocations: 0 / 0.6704 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.178, allocations: 7.938 kB / 0.6704 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.178, allocations: 0 / 0.6704 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.1785, allocations: 292.2 kB / 0.6707 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.1786, allocations: 85.06 kB / 0.6708 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.1786, allocations: 11.98 kB / 0.6708 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1789, allocations: 15.92 kB / 0.6708 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1789, allocations: 19.91 kB / 0.6708 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1789, allocations: 12 kB / 0.6708 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.817e-05/0.179, allocations: 122.3 kB / 0.6709 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.179, allocations: 0 / 0.6709 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004431/0.1795, allocations: 131.5 kB / 0.6711 GB, free: 1.164 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.001054/0.1805, allocations: 0.9478 MB / 0.672 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004668/0.181, allocations: 175.8 kB / 0.6722 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.181, allocations: 0 / 0.6722 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.1812, allocations: 79.91 kB / 0.6722 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1816, allocations: 40.16 kB / 0.6723 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.1843, allocations: 2.06 MB / 0.6743 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1846, allocations: 0.7047 MB / 0.675 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.1848, allocations: 30.39 kB / 0.675 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.1849, allocations: 47.41 kB / 0.6751 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1849, allocations: 3.938 kB / 0.6751 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.2085, allocations: 6.039 MB / 0.681 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.677, allocations: 9.219 kB / 0.681 GB, free: 7.078 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)