Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_dev_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.001061/0.001061, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 196.5 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8991/0.8991, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.00224, allocations: 63.92 kB / 0.5055 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1447, allocations: 80.92 MB / 0.5845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003258/0.148, allocations: 2.016 MB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1503, allocations: 1.664 MB / 0.5881 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.1505, allocations: 4 kB / 0.5881 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.462e-05/0.1505, allocations: 19.78 kB / 0.5881 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1507, allocations: 47.56 kB / 0.5881 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009937/0.1517, allocations: 362.8 kB / 0.5885 GB, free: 280 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1519, allocations: 223.1 kB / 0.5887 GB, free: 56 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1521, allocations: 59.91 kB / 0.5888 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1522, allocations: 83.73 kB / 0.5888 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1524, allocations: 95.64 kB / 0.5889 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.1524, allocations: 20 kB / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.1532, allocations: 399.5 kB / 0.5893 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.1532, allocations: 39.84 kB / 0.5894 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.1533, allocations: 99.58 kB / 0.5895 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.1539, allocations: 431.2 kB / 0.5899 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1539, allocations: 7.984 kB / 0.5899 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.154, allocations: 4 kB / 0.5899 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.154, allocations: 0 / 0.5899 GB, free: 14.84 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.0008416/0.1548, allocations: 0.5186 MB / 0.5904 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1549, allocations: 12.03 kB / 0.5904 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.1549, allocations: 54.67 kB / 0.5904 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.1561, allocations: 136.6 kB / 0.5906 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1562, allocations: 184.2 kB / 0.5908 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.1563, allocations: 50.25 kB / 0.5908 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.1564, allocations: 20.12 kB / 0.5908 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.157, allocations: 213.3 kB / 0.591 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.157, allocations: 0 / 0.591 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.157, allocations: 12 kB / 0.591 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.157, allocations: 4 kB / 0.591 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.1578, allocations: 235.8 kB / 0.5913 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.1592, allocations: 0.9626 MB / 0.5922 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.1598, allocations: 178.7 kB / 0.5924 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.1602, allocations: 108.8 kB / 0.5925 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/0.1609, allocations: 0.5181 MB / 0.593 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1609, allocations: 42.5 kB / 0.593 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.1609, allocations: 0 / 0.593 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001216/0.1621, allocations: 328.5 kB / 0.5933 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1622, allocations: 59.39 kB / 0.5934 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1623, allocations: 153.7 kB / 0.5935 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.1624, allocations: 37.64 kB / 0.5936 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.1625, allocations: 120.1 kB / 0.5937 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.1625, allocations: 59.19 kB / 0.5937 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.1626, allocations: 37.7 kB / 0.5938 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1627, allocations: 330.8 kB / 0.5941 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.1631, allocations: 99.94 kB / 0.5942 GB, free: 10 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.1635, allocations: 127.5 kB / 0.5943 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.1642, allocations: 199.1 kB / 0.5945 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1642, allocations: 4 kB / 0.5945 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008454/0.1651, allocations: 266.5 kB / 0.5948 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1651, allocations: 11.94 kB / 0.5948 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1651, allocations: 3.938 kB / 0.5948 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1651, allocations: 0 / 0.5948 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.1655, allocations: 51.95 kB / 0.5948 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1655, allocations: 4 kB / 0.5948 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.1658, allocations: 39.66 kB / 0.5949 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1659, allocations: 4 kB / 0.5949 GB, free: 9.289 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.0001193/0.166, allocations: 129.8 kB / 0.595 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.1661, allocations: 19.84 kB / 0.595 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008784/0.1669, allocations: 262.6 kB / 0.5953 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.167, allocations: 0 / 0.5953 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.167, allocations: 0 / 0.5953 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.167, allocations: 7.984 kB / 0.5953 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.1689, allocations: 1.07 MB / 0.5963 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1689, allocations: 4.062 kB / 0.5963 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.1693, allocations: 39.97 kB / 0.5964 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1693, allocations: 0 / 0.5964 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.1693, allocations: 4 kB / 0.5964 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1693, allocations: 3.938 kB / 0.5964 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1693, allocations: 3.984 kB / 0.5964 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.1702, allocations: 352.9 kB / 0.5967 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.1702, allocations: 89.02 kB / 0.5968 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.1703, allocations: 4 kB / 0.5968 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.1706, allocations: 31.91 kB / 0.5968 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1707, allocations: 11.97 kB / 0.5968 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.1707, allocations: 11.98 kB / 0.5969 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001025/0.1708, allocations: 122.7 kB / 0.597 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1708, allocations: 0 / 0.597 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004637/0.1713, allocations: 135.8 kB / 0.5971 GB, free: 6.801 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 (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.001445/0.1727, allocations: 1.001 MB / 0.5981 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008318/0.1736, allocations: 239.8 kB / 0.5983 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1736, allocations: 0 / 0.5983 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.174, allocations: 114.9 kB / 0.5984 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.1744, allocations: 58.3 kB / 0.5985 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.1796, allocations: 2.366 MB / 0.6008 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1799, allocations: 0.7125 MB / 0.6015 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.1801, allocations: 30.69 kB / 0.6015 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1803, allocations: 47.41 kB / 0.6015 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1803, allocations: 0 / 0.6015 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2351/0.4154, allocations: 6.269 MB / 0.6077 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.953, allocations: 2.578 kB / 0.6077 GB, free: 51.29 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)