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.005157/0.005157, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.001339/0.001339, allocations: 195 kB / 16.67 MB, free: 5.926 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8338/0.8338, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 62.38 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.147, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005544/0.1526, allocations: 3.725 MB / 0.6628 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002188/0.1528, allocations: 163.5 kB / 0.663 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.1528, allocations: 0 / 0.663 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.466e-05/0.1529, allocations: 3.938 kB / 0.663 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.1531, allocations: 19.91 kB / 0.663 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1534, allocations: 79.75 kB / 0.6631 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.049e-05/0.1535, allocations: 35.86 kB / 0.6631 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.1536, allocations: 3.984 kB / 0.6631 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.1536, allocations: 15.98 kB / 0.6631 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.1537, allocations: 7.938 kB / 0.6631 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1537, allocations: 3.984 kB / 0.6631 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.1543, allocations: 191.4 kB / 0.6633 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.1544, allocations: 0 / 0.6633 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.1544, allocations: 19.91 kB / 0.6633 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.1545, allocations: 36.19 kB / 0.6634 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1546, allocations: 7.938 kB / 0.6634 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1546, allocations: 0 / 0.6634 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1546, allocations: 3.938 kB / 0.6634 GB, free: 6.449 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.0004785/0.1551, allocations: 339.4 kB / 0.6637 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1551, allocations: 8.031 kB / 0.6637 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.1551, allocations: 34.75 kB / 0.6637 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.1552, allocations: 4.938 kB / 0.6637 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1553, allocations: 168.4 kB / 0.6639 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.1554, allocations: 30.27 kB / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1554, allocations: 8.125 kB / 0.6639 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1556, allocations: 37.69 kB / 0.664 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1556, allocations: 3.938 kB / 0.664 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1556, allocations: 4 kB / 0.664 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.1556, allocations: 4 kB / 0.664 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.659e-05/0.1557, allocations: 15.92 kB / 0.664 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1561, allocations: 338 kB / 0.6643 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.1562, allocations: 18.58 kB / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.1562, allocations: 4.859 kB / 0.6643 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.613e-05/0.1563, allocations: 93.16 kB / 0.6644 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1563, allocations: 30.56 kB / 0.6645 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1564, allocations: 0 / 0.6645 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.1565, allocations: 41.59 kB / 0.6645 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1566, allocations: 55.53 kB / 0.6646 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.1566, allocations: 101.8 kB / 0.6647 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1567, allocations: 25.7 kB / 0.6647 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.1567, allocations: 88.09 kB / 0.6648 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-06/0.1567, allocations: 0 / 0.6648 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1568, allocations: 21.7 kB / 0.6648 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1569, allocations: 314.8 kB / 0.6651 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.1569, allocations: 4 kB / 0.6651 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.157, allocations: 25.89 kB / 0.6651 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.157, allocations: 17.66 kB / 0.6651 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.157, allocations: 0 / 0.6651 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.766e-05/0.1571, allocations: 53.62 kB / 0.6652 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1571, allocations: 4 kB / 0.6652 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.1571, allocations: 0 / 0.6652 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1571, allocations: 4.156 kB / 0.6652 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.1572, allocations: 11.98 kB / 0.6652 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1572, allocations: 0 / 0.6652 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.1572, allocations: 3.953 kB / 0.6652 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1572, allocations: 4 kB / 0.6652 GB, free: 4.285 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 8.489e-05/0.1573, allocations: 118.6 kB / 0.6653 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1574, allocations: 0 / 0.6653 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1575, allocations: 124.9 kB / 0.6654 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-05/0.1576, allocations: 184.2 kB / 0.6656 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.673e-05/0.1577, allocations: 184.2 kB / 0.6658 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.356e-05/0.1577, allocations: 180.2 kB / 0.666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.158, allocations: 413.1 kB / 0.6664 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.798e-05/0.1581, allocations: 104.9 kB / 0.6665 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.1581, allocations: 105 kB / 0.6666 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.039e-05/0.1582, allocations: 176.3 kB / 0.6667 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/0.1583, allocations: 188.2 kB / 0.6669 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-05/0.1584, allocations: 180.2 kB / 0.6671 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-05/0.1584, allocations: 180.2 kB / 0.6673 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1587, allocations: 307.8 kB / 0.6675 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.1588, allocations: 190 kB / 0.6677 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.1589, allocations: 176.3 kB / 0.6679 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.159, allocations: 112.9 kB / 0.668 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.1591, allocations: 188.2 kB / 0.6682 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.1592, allocations: 101 kB / 0.6683 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.585e-05/0.1592, allocations: 79.28 kB / 0.6684 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1592, allocations: 7.938 kB / 0.6684 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002452/0.1595, allocations: 19.88 kB / 0.6684 GB, free: 0.8125 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.0006074/0.1601, allocations: 0.8321 MB / 0.6692 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.039e-05/0.1602, allocations: 11.94 kB / 0.6692 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1602, allocations: 4 kB / 0.6692 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1602, allocations: 0 / 0.6692 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.1607, allocations: 461.7 kB / 0.6696 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1617, allocations: 1.317 MB / 0.6709 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.162, allocations: 0.6767 MB / 0.6716 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.467e-05/0.1621, allocations: 11.98 kB / 0.6716 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.1621, allocations: 7.438 kB / 0.6716 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1621, allocations: 0 / 0.6716 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.1845, allocations: 1.518 MB / 0.6731 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/8.686, allocations: 3.891 kB / 0.6731 GB, free: 11.98 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)