Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.004716/0.004716, allocations: 100.8 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.001113/0.001113, allocations: 197.5 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8054/0.8054, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 70.75 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 80.92 MB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005089/0.1366, allocations: 3.724 MB / 0.6678 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001939/0.1368, allocations: 159.5 kB / 0.6679 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.1368, allocations: 0 / 0.6679 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.465e-05/0.1369, allocations: 7.922 kB / 0.6679 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.137, allocations: 15.92 kB / 0.668 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1373, allocations: 87.69 kB / 0.668 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.1374, allocations: 27.86 kB / 0.6681 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.1375, allocations: 3.984 kB / 0.6681 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.1375, allocations: 19.98 kB / 0.6681 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.1376, allocations: 11.92 kB / 0.6681 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1376, allocations: 4 kB / 0.6681 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.1381, allocations: 191.4 kB / 0.6683 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.1382, allocations: 7.984 kB / 0.6683 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.1382, allocations: 7.938 kB / 0.6683 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1383, allocations: 44.17 kB / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1384, allocations: 0 / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1384, allocations: 0 / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1384, allocations: 0 / 0.6683 GB, free: 2 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.0003601/0.1387, allocations: 335.5 kB / 0.6687 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1388, allocations: 9.109 kB / 0.6687 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.1388, allocations: 38.73 kB / 0.6687 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1389, allocations: 8.891 kB / 0.6687 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.139, allocations: 160.4 kB / 0.6689 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/0.139, allocations: 26.27 kB / 0.6689 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1391, allocations: 12.12 kB / 0.6689 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1392, allocations: 41.67 kB / 0.6689 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1392, allocations: 3.984 kB / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1392, allocations: 7.875 kB / 0.669 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1393, allocations: 15.92 kB / 0.669 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.1393, allocations: 15.98 kB / 0.669 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.1397, allocations: 334 kB / 0.6693 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.917e-05/0.1398, allocations: 18.56 kB / 0.6693 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.1398, allocations: 8.922 kB / 0.6693 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.276e-05/0.1399, allocations: 81.11 kB / 0.6694 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1399, allocations: 38.5 kB / 0.6694 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.14, allocations: 0 / 0.6694 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001726/0.1401, allocations: 41.69 kB / 0.6695 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1402, allocations: 51.41 kB / 0.6695 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.1403, allocations: 97.86 kB / 0.6696 GB, free: 452 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1403, allocations: 25.7 kB / 0.6696 GB, free: 420 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.1404, allocations: 92.08 kB / 0.6697 GB, free: 324 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-06/0.1404, allocations: 4.078 kB / 0.6697 GB, free: 320 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.1404, allocations: 21.72 kB / 0.6698 GB, free: 292 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1406, allocations: 314.8 kB / 0.6701 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.1406, allocations: 4 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.1406, allocations: 21.64 kB / 0.6701 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.1407, allocations: 17.72 kB / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1407, allocations: 4 kB / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.682e-05/0.1408, allocations: 57.62 kB / 0.6702 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1408, allocations: 4 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1408, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1408, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.1409, allocations: 8 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1409, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.1409, allocations: 3.984 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1409, allocations: 4 kB / 0.6702 GB, free: 15.83 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: 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 7.524e-05/0.141, allocations: 113.8 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.141, allocations: 3.953 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.1412, allocations: 124.9 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/0.1412, allocations: 180.2 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.266e-05/0.1413, allocations: 184.2 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/0.1414, allocations: 180.3 kB / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1416, allocations: 409.2 kB / 0.6713 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/0.1416, allocations: 104.9 kB / 0.6714 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.1417, allocations: 104.9 kB / 0.6715 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.088e-05/0.1417, allocations: 184.2 kB / 0.6717 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.1418, allocations: 184.2 kB / 0.6719 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.207e-05/0.1419, allocations: 180.3 kB / 0.672 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.991e-05/0.142, allocations: 180.2 kB / 0.6722 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1421, allocations: 315.6 kB / 0.6725 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.1422, allocations: 182.1 kB / 0.6727 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.1423, allocations: 180.3 kB / 0.6729 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1425, allocations: 112.9 kB / 0.673 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.1425, allocations: 180.3 kB / 0.6731 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.1426, allocations: 108.9 kB / 0.6732 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.1426, allocations: 83.28 kB / 0.6733 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1426, allocations: 0 / 0.6733 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002633/0.1429, allocations: 23.86 kB / 0.6733 GB, free: 12.36 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 (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.0005276/0.1434, allocations: 0.8256 MB / 0.6742 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.1435, allocations: 15.94 kB / 0.6742 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1435, allocations: 4.125 kB / 0.6742 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.1435, allocations: 0 / 0.6742 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.1439, allocations: 459.9 kB / 0.6746 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.1448, allocations: 1.313 MB / 0.6759 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.145, allocations: 0.6807 MB / 0.6766 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.1451, allocations: 7.5 kB / 0.6766 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.1451, allocations: 11.44 kB / 0.6766 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1451, allocations: 0 / 0.6766 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.1612, allocations: 1.522 MB / 0.6781 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.401, allocations: 5.656 kB / 0.6781 GB, free: 7.523 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)