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.007054/0.007054, allocations: 96.95 kB / 15.73 MB, free: 6.039 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.001596/0.001596, allocations: 200.1 kB / 16.68 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7528/0.7528, allocations: 132.2 MB / 422.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.86 kB / 0.5809 GB, free: 1.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 80.21 MB / 0.6592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003017/0.1658, allocations: 2.018 MB / 0.6612 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.168, allocations: 1.675 MB / 0.6628 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.1682, allocations: 4 kB / 0.6628 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.325e-05/0.1682, allocations: 19.78 kB / 0.6628 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1683, allocations: 51.55 kB / 0.6629 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009035/0.1692, allocations: 354.8 kB / 0.6632 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1695, allocations: 235 kB / 0.6634 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1696, allocations: 52 kB / 0.6635 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.1697, allocations: 83.83 kB / 0.6636 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1698, allocations: 95.66 kB / 0.6637 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1699, allocations: 20 kB / 0.6637 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006964/0.1706, allocations: 411.5 kB / 0.6641 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.1706, allocations: 43.84 kB / 0.6641 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.1707, allocations: 91.64 kB / 0.6642 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.1713, allocations: 442.6 kB / 0.6646 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1713, allocations: 0 / 0.6646 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1713, allocations: 0 / 0.6646 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1713, allocations: 8 kB / 0.6646 GB, free: 8.469 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.0007831/0.1721, allocations: 0.5218 MB / 0.6651 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1721, allocations: 12.03 kB / 0.6651 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.1722, allocations: 54.67 kB / 0.6652 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.1733, allocations: 136.7 kB / 0.6653 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1734, allocations: 184.1 kB / 0.6655 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.1735, allocations: 58.25 kB / 0.6656 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1735, allocations: 19.94 kB / 0.6656 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.174, allocations: 213.3 kB / 0.6658 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1741, allocations: 0 / 0.6658 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1741, allocations: 12 kB / 0.6658 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1741, allocations: 8 kB / 0.6658 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.1749, allocations: 235.8 kB / 0.666 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.1762, allocations: 0.966 MB / 0.667 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.1766, allocations: 178.7 kB / 0.6671 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.177, allocations: 108.8 kB / 0.6672 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/0.1776, allocations: 0.522 MB / 0.6678 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1776, allocations: 42.5 kB / 0.6678 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.1776, allocations: 0 / 0.6678 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.00114/0.1788, allocations: 329.7 kB / 0.6681 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1788, allocations: 55.41 kB / 0.6682 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.179, allocations: 158.4 kB / 0.6683 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.179, allocations: 29.7 kB / 0.6683 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.1791, allocations: 112.3 kB / 0.6684 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.1791, allocations: 55.53 kB / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.1792, allocations: 45.66 kB / 0.6685 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.1793, allocations: 326.8 kB / 0.6689 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.1797, allocations: 99.94 kB / 0.669 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.18, allocations: 134.9 kB / 0.6691 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.1807, allocations: 192.5 kB / 0.6693 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1807, allocations: 0 / 0.6693 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007675/0.1815, allocations: 273.4 kB / 0.6695 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1815, allocations: 7.938 kB / 0.6695 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1815, allocations: 0 / 0.6695 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1815, allocations: 4 kB / 0.6695 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.1819, allocations: 47.97 kB / 0.6696 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1819, allocations: 0 / 0.6696 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.1822, allocations: 43.81 kB / 0.6696 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1822, allocations: 4 kB / 0.6696 GB, free: 2.906 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 (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.000106/0.1823, allocations: 129.7 kB / 0.6697 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.1824, allocations: 23.77 kB / 0.6698 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008035/0.1832, allocations: 269 kB / 0.67 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1832, allocations: 4 kB / 0.67 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1832, allocations: 0 / 0.67 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1832, allocations: 0 / 0.67 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.1849, allocations: 1.068 MB / 0.6711 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1849, allocations: 7.922 kB / 0.6711 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.1852, allocations: 44.03 kB / 0.6711 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1852, allocations: 8 kB / 0.6711 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1853, allocations: 3.984 kB / 0.6711 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1853, allocations: 7.938 kB / 0.6711 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1853, allocations: 0 / 0.6711 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.186, allocations: 353 kB / 0.6715 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.1861, allocations: 93 kB / 0.6716 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.1861, allocations: 4 kB / 0.6716 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.1865, allocations: 23.97 kB / 0.6716 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1865, allocations: 11.98 kB / 0.6716 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1865, allocations: 8 kB / 0.6716 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.135e-05/0.1866, allocations: 122.7 kB / 0.6717 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1866, allocations: 0 / 0.6717 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004448/0.1871, allocations: 135.5 kB / 0.6719 GB, free: 420 kB / 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 (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.001331/0.1884, allocations: 1.002 MB / 0.6728 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007659/0.1892, allocations: 242.9 kB / 0.6731 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1892, allocations: 0 / 0.6731 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.1896, allocations: 120.1 kB / 0.6732 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.19, allocations: 47.52 kB / 0.6732 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.1947, allocations: 2.349 MB / 0.6755 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.1949, allocations: 0.7125 MB / 0.6762 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.1951, allocations: 32.06 kB / 0.6763 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1952, allocations: 43.52 kB / 0.6763 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1952, allocations: 7.875 kB / 0.6763 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.2166, allocations: 6.339 MB / 0.6825 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.704, allocations: 7.047 kB / 0.6825 GB, free: 5.57 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)