Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.007703/0.007703, allocations: 101 kB / 15.73 MB, free: 6.059 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.001372/0.001372, allocations: 193.6 kB / 16.67 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8418/0.8418, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 66.08 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 80.2 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005291/0.1475, allocations: 3.73 MB / 0.6628 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000199/0.1477, allocations: 155.4 kB / 0.663 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.1478, allocations: 0 / 0.663 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.685e-05/0.1479, allocations: 8 kB / 0.663 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.1479, allocations: 11.91 kB / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.1483, allocations: 84.62 kB / 0.6631 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.737e-05/0.1484, allocations: 31.86 kB / 0.6631 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1484, allocations: 4 kB / 0.6631 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.1485, allocations: 15.97 kB / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.19e-05/0.1485, allocations: 23.86 kB / 0.6631 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1486, allocations: 0 / 0.6631 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.1491, allocations: 183.4 kB / 0.6633 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.1491, allocations: 11.98 kB / 0.6633 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1492, allocations: 11.94 kB / 0.6633 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1493, allocations: 44.17 kB / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1493, allocations: 0 / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1493, allocations: 0 / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1493, allocations: 0 / 0.6634 GB, free: 6.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004306/0.1498, allocations: 335.4 kB / 0.6637 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1498, allocations: 8.031 kB / 0.6637 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1499, allocations: 34.75 kB / 0.6637 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1499, allocations: 0.9375 kB / 0.6637 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.15, allocations: 172.4 kB / 0.6639 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.1501, allocations: 34.2 kB / 0.6639 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1501, allocations: 8.125 kB / 0.6639 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1503, allocations: 49.61 kB / 0.664 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1503, allocations: 4 kB / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1503, allocations: 0 / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.1504, allocations: 7.922 kB / 0.664 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.1504, allocations: 8 kB / 0.664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1508, allocations: 342 kB / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.1509, allocations: 22.58 kB / 0.6643 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.1509, allocations: 8.797 kB / 0.6644 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/0.151, allocations: 85.16 kB / 0.6644 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.151, allocations: 30.56 kB / 0.6645 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1511, allocations: 8 kB / 0.6645 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.1512, allocations: 33.66 kB / 0.6645 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1513, allocations: 55.39 kB / 0.6646 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.1514, allocations: 101.9 kB / 0.6647 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1514, allocations: 25.7 kB / 0.6647 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.1514, allocations: 84.09 kB / 0.6648 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.1514, allocations: 7.984 kB / 0.6648 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.1515, allocations: 13.72 kB / 0.6648 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1516, allocations: 322.9 kB / 0.6651 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.1517, allocations: 7.938 kB / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.1517, allocations: 17.7 kB / 0.6651 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.1517, allocations: 21.72 kB / 0.6651 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1517, allocations: 0 / 0.6651 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.463e-05/0.1518, allocations: 45.69 kB / 0.6652 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1518, allocations: 8 kB / 0.6652 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1518, allocations: 4 kB / 0.6652 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1519, allocations: 0 / 0.6652 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.396e-05/0.1519, allocations: 4 kB / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1519, allocations: 0 / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.152, allocations: 11.95 kB / 0.6652 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.152, allocations: 0 / 0.6652 GB, free: 4.262 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.029e-05/0.1521, allocations: 114.6 kB / 0.6653 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1521, allocations: 4 kB / 0.6653 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.1522, allocations: 130.8 kB / 0.6654 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.406e-05/0.1523, allocations: 176.3 kB / 0.6656 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.618e-05/0.1524, allocations: 184.2 kB / 0.6658 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.451e-05/0.1525, allocations: 176.3 kB / 0.666 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1528, allocations: 417.1 kB / 0.6664 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/0.1528, allocations: 101 kB / 0.6665 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.1529, allocations: 108.9 kB / 0.6666 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-05/0.1529, allocations: 184.1 kB / 0.6667 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.601e-05/0.153, allocations: 180.2 kB / 0.6669 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.633e-05/0.1531, allocations: 180.2 kB / 0.6671 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.862e-05/0.1532, allocations: 188.5 kB / 0.6673 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.1534, allocations: 303.7 kB / 0.6675 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.1535, allocations: 186.1 kB / 0.6677 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.1536, allocations: 188.2 kB / 0.6679 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1537, allocations: 113 kB / 0.668 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.1538, allocations: 180.3 kB / 0.6682 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.1539, allocations: 108.9 kB / 0.6683 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.1539, allocations: 83.28 kB / 0.6684 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1539, allocations: 0 / 0.6684 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002498/0.1542, allocations: 19.88 kB / 0.6684 GB, free: 0.7852 MB / 0.4981 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 (0): * Single equations (assignments): 0 * 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.0005375/0.1547, allocations: 0.8321 MB / 0.6692 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.42e-05/0.1548, allocations: 11.94 kB / 0.6692 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1548, allocations: 0 / 0.6692 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.1548, allocations: 0 / 0.6692 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1552, allocations: 466 kB / 0.6697 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1563, allocations: 1.313 MB / 0.6709 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1566, allocations: 0.6767 MB / 0.6716 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.257e-05/0.1566, allocations: 11.98 kB / 0.6716 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.1567, allocations: 11.44 kB / 0.6716 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1567, allocations: 0 / 0.6716 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.1782, allocations: 1.504 MB / 0.6731 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.779, allocations: 5.078 kB / 0.6731 GB, free: 11.97 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)