Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.00503/0.00503, allocations: 97.02 kB / 15.73 MB, free: 6.055 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.001009/0.001009, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9307/0.9307, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 67.89 kB / 0.5852 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4258, allocations: 80.91 MB / 0.6642 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004805/0.4306, allocations: 4.433 MB / 0.6685 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.433, allocations: 2.684 MB / 0.6711 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.433, allocations: 1.406 kB / 0.6711 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.4333, allocations: 51.48 kB / 0.6712 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.4335, allocations: 96.39 kB / 0.6713 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.4344, allocations: 0.4992 MB / 0.6718 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.4347, allocations: 237 kB / 0.672 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.4347, allocations: 13.92 kB / 0.672 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.4355, allocations: 415.7 kB / 0.6724 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.4356, allocations: 93.81 kB / 0.6725 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.4357, allocations: 7.344 kB / 0.6725 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008093/0.4365, allocations: 489 kB / 0.673 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.4365, allocations: 38.05 kB / 0.673 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.4366, allocations: 74.84 kB / 0.6731 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.4372, allocations: 362.7 kB / 0.6734 GB, free: 360 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4372, allocations: 4 kB / 0.6734 GB, free: 356 kB / 0.4981 GB Notification: Performance of FrontEnd: time 9.81e-07/0.4372, allocations: 0 / 0.6734 GB, free: 356 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.4372, allocations: 1.5 kB / 0.6734 GB, free: 356 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006831/0.4379, allocations: 0.4987 MB / 0.6739 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4379, allocations: 9.812 kB / 0.6739 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.438, allocations: 49.14 kB / 0.674 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.4382, allocations: 25.73 kB / 0.674 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.4384, allocations: 220.8 kB / 0.6742 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4385, allocations: 14.27 kB / 0.6742 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.4385, allocations: 14.78 kB / 0.6742 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.4389, allocations: 240.4 kB / 0.6745 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4389, allocations: 1.312 kB / 0.6745 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.439, allocations: 14.58 kB / 0.6745 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.439, allocations: 5.25 kB / 0.6745 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.4395, allocations: 437.3 kB / 0.6749 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/0.4405, allocations: 1.004 MB / 0.6759 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.4407, allocations: 154.8 kB / 0.676 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.4409, allocations: 62.36 kB / 0.6761 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.4422, allocations: 1.845 MB / 0.6779 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.4422, allocations: 33.47 kB / 0.6779 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.4422, allocations: 0 / 0.6779 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003232/0.4425, allocations: 154.1 kB / 0.6781 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.4426, allocations: 52.62 kB / 0.6781 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.4427, allocations: 172.2 kB / 0.6783 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.4428, allocations: 27.98 kB / 0.6783 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.4429, allocations: 146.9 kB / 0.6785 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.4429, allocations: 50.38 kB / 0.6785 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.443, allocations: 69.3 kB / 0.6786 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4431, allocations: 321.8 kB / 0.6789 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.4432, allocations: 34.3 kB / 0.6789 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.4433, allocations: 142.2 kB / 0.679 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.4436, allocations: 203.5 kB / 0.6792 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4436, allocations: 1.688 kB / 0.6792 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000334/0.4439, allocations: 219 kB / 0.6794 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4439, allocations: 5.594 kB / 0.6795 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.444, allocations: 4.781 kB / 0.6795 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.444, allocations: 12.28 kB / 0.6795 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.4442, allocations: 53.44 kB / 0.6795 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.4442, allocations: 4.375 kB / 0.6795 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.4443, allocations: 28.12 kB / 0.6796 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.4443, allocations: 15.66 kB / 0.6796 GB, free: 10.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001208/0.4445, allocations: 139.4 kB / 0.6797 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.4445, allocations: 17.41 kB / 0.6797 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.4448, allocations: 151.6 kB / 0.6799 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.4448, allocations: 6.219 kB / 0.6799 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4449, allocations: 1.094 kB / 0.6799 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4449, allocations: 0 / 0.6799 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.4451, allocations: 218 kB / 0.6801 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4451, allocations: 0 / 0.6801 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.4452, allocations: 30.92 kB / 0.6801 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4452, allocations: 1.156 kB / 0.6801 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4452, allocations: 2.688 kB / 0.6801 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4452, allocations: 7.938 kB / 0.6801 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4453, allocations: 1.188 kB / 0.6801 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.4455, allocations: 218.6 kB / 0.6803 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4456, allocations: 114.1 kB / 0.6804 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.4457, allocations: 9.234 kB / 0.6804 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.4459, allocations: 15.48 kB / 0.6805 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.4459, allocations: 17.39 kB / 0.6805 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.4459, allocations: 9.562 kB / 0.6805 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.372e-05/0.446, allocations: 123.2 kB / 0.6806 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.446, allocations: 1.188 kB / 0.6806 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003928/0.4464, allocations: 76.55 kB / 0.6807 GB, free: 9.574 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007063/0.4471, allocations: 0.8371 MB / 0.6815 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.4474, allocations: 112.6 kB / 0.6816 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4474, allocations: 1.156 kB / 0.6816 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.4475, allocations: 44.89 kB / 0.6816 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.4479, allocations: 55.2 kB / 0.6817 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.45, allocations: 2.043 MB / 0.6837 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.4503, allocations: 0.708 MB / 0.6844 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.4505, allocations: 48.95 kB / 0.6844 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.4505, allocations: 49.7 kB / 0.6845 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4506, allocations: 0 / 0.6845 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.4718, allocations: 5.163 MB / 0.6895 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.916, allocations: 16.31 kB / 0.6895 GB, free: 3.52 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)