Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.007463/0.007463, allocations: 99.91 kB / 15.73 MB, free: 6.004 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.002028/0.002028, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8003/0.8003, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 62.55 kB / 0.5809 GB, free: 24.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1421, allocations: 80.22 MB / 0.6592 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003069/0.1452, allocations: 2.019 MB / 0.6612 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1476, allocations: 1.675 MB / 0.6628 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.1476, allocations: 4 kB / 0.6628 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.224e-05/0.1477, allocations: 23.78 kB / 0.6628 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1478, allocations: 51.55 kB / 0.6629 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008893/0.1487, allocations: 342.8 kB / 0.6632 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.149, allocations: 243 kB / 0.6634 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1491, allocations: 49.81 kB / 0.6635 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1493, allocations: 75.78 kB / 0.6636 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1494, allocations: 103.6 kB / 0.6637 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.1495, allocations: 20 kB / 0.6637 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008482/0.1503, allocations: 411.5 kB / 0.6641 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.1504, allocations: 47.83 kB / 0.6641 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1505, allocations: 87.64 kB / 0.6642 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.1511, allocations: 446.6 kB / 0.6646 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1511, allocations: 0 / 0.6646 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1512, allocations: 0 / 0.6646 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1512, allocations: 3.938 kB / 0.6646 GB, free: 5.316 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008866/0.1521, allocations: 0.5257 MB / 0.6651 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1521, allocations: 8.031 kB / 0.6651 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.1522, allocations: 54.73 kB / 0.6652 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1533, allocations: 136.7 kB / 0.6653 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1535, allocations: 184.1 kB / 0.6655 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.1535, allocations: 50.25 kB / 0.6656 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.1536, allocations: 19.94 kB / 0.6656 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.1542, allocations: 221.2 kB / 0.6658 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1542, allocations: 0 / 0.6658 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.1543, allocations: 8 kB / 0.6658 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1543, allocations: 4 kB / 0.6658 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.155, allocations: 231.8 kB / 0.666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.1566, allocations: 0.9738 MB / 0.667 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.1571, allocations: 182.6 kB / 0.6671 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.1574, allocations: 112.8 kB / 0.6673 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.1581, allocations: 0.5181 MB / 0.6678 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1582, allocations: 34.56 kB / 0.6678 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1582, allocations: 0 / 0.6678 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001172/0.1594, allocations: 335.6 kB / 0.6681 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.1594, allocations: 55.41 kB / 0.6682 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1596, allocations: 158.5 kB / 0.6683 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1596, allocations: 33.7 kB / 0.6683 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1597, allocations: 116.2 kB / 0.6685 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.1597, allocations: 55.53 kB / 0.6685 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.1598, allocations: 41.66 kB / 0.6685 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.16, allocations: 330.8 kB / 0.6689 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.1603, allocations: 99.95 kB / 0.669 GB, free: 468 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.1607, allocations: 129.6 kB / 0.6691 GB, free: 332 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.1614, allocations: 196.4 kB / 0.6693 GB, free: 132 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1614, allocations: 0 / 0.6693 GB, free: 132 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008408/0.1623, allocations: 265.5 kB / 0.6695 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1623, allocations: 7.938 kB / 0.6695 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1623, allocations: 4.031 kB / 0.6695 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1623, allocations: 0 / 0.6695 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.1627, allocations: 55.91 kB / 0.6696 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1627, allocations: 0 / 0.6696 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.163, allocations: 35.81 kB / 0.6696 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.163, allocations: 15.94 kB / 0.6696 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 (22): * Single equations (assignments): 22 * 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.0001335/0.1632, allocations: 129.7 kB / 0.6698 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.1632, allocations: 15.89 kB / 0.6698 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008727/0.1641, allocations: 270.7 kB / 0.67 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1641, allocations: 3.938 kB / 0.67 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1641, allocations: 0 / 0.67 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1641, allocations: 0 / 0.67 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.1661, allocations: 1.07 MB / 0.6711 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1662, allocations: 4 kB / 0.6711 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.1665, allocations: 39.97 kB / 0.6711 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1665, allocations: 3.984 kB / 0.6711 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1665, allocations: 4 kB / 0.6711 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1665, allocations: 4.062 kB / 0.6711 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1665, allocations: 4 kB / 0.6711 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.1674, allocations: 351.8 kB / 0.6715 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.1675, allocations: 93 kB / 0.6716 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.1675, allocations: 8 kB / 0.6716 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.1678, allocations: 23.97 kB / 0.6716 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.1679, allocations: 15.98 kB / 0.6716 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1679, allocations: 4 kB / 0.6716 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.814e-05/0.168, allocations: 118.5 kB / 0.6717 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.168, allocations: 0 / 0.6717 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004752/0.1685, allocations: 143.5 kB / 0.6719 GB, free: 13.26 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 (16): * Single equations (assignments): 16 * 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.001494/0.17, allocations: 0.9985 MB / 0.6728 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008524/0.1709, allocations: 231.8 kB / 0.6731 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1709, allocations: 4.062 kB / 0.6731 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.1713, allocations: 107.9 kB / 0.6732 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.1717, allocations: 55.97 kB / 0.6732 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.1769, allocations: 2.368 MB / 0.6755 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1772, allocations: 0.7086 MB / 0.6762 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.1774, allocations: 39.22 kB / 0.6763 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.1775, allocations: 43.42 kB / 0.6763 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.1775, allocations: 0 / 0.6763 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.2039, allocations: 6.336 MB / 0.6825 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/7.931, allocations: 10.97 kB / 0.6825 GB, free: 2.402 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_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_ScrollCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)