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.005214/0.005215, allocations: 101 kB / 15.73 MB, free: 5.992 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.001114/0.001114, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.342/1.342, 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/package.mo): time 0.7622/0.7622, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 62.84 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1672, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005965/0.1732, allocations: 3.726 MB / 0.6628 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002306/0.1735, allocations: 159.5 kB / 0.663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.1735, allocations: 4 kB / 0.663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1737, allocations: 3.984 kB / 0.663 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.1738, allocations: 3.938 kB / 0.663 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.1743, allocations: 90.81 kB / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.326e-05/0.1744, allocations: 39.91 kB / 0.6631 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1744, allocations: 3.984 kB / 0.6631 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.1745, allocations: 15.92 kB / 0.6631 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.1746, allocations: 15.92 kB / 0.6631 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1746, allocations: 0 / 0.6631 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.1752, allocations: 187.4 kB / 0.6633 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.1752, allocations: 7.984 kB / 0.6633 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.1753, allocations: 7.938 kB / 0.6633 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1754, allocations: 46.77 kB / 0.6634 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1754, allocations: 4 kB / 0.6634 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1754, allocations: 0 / 0.6634 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.1754, allocations: 0 / 0.6634 GB, free: 9.703 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.0003975/0.1758, allocations: 332.4 kB / 0.6637 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1759, allocations: 12.03 kB / 0.6637 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.1759, allocations: 34.73 kB / 0.6637 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.176, allocations: 4.844 kB / 0.6637 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1761, allocations: 168.3 kB / 0.6639 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.1762, allocations: 34.27 kB / 0.6639 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1762, allocations: 8.062 kB / 0.6639 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1763, allocations: 49.61 kB / 0.664 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1764, allocations: 3.984 kB / 0.664 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1764, allocations: 0 / 0.664 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.1764, allocations: 0 / 0.664 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.1765, allocations: 19.98 kB / 0.664 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.1769, allocations: 330 kB / 0.6643 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.177, allocations: 30.5 kB / 0.6644 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.177, allocations: 4.859 kB / 0.6644 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.542e-05/0.1771, allocations: 81.17 kB / 0.6644 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1772, allocations: 34.56 kB / 0.6645 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1772, allocations: 0 / 0.6645 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.1773, allocations: 37.69 kB / 0.6645 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1774, allocations: 59.47 kB / 0.6646 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.1775, allocations: 101.9 kB / 0.6647 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1775, allocations: 25.7 kB / 0.6647 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.1775, allocations: 88.03 kB / 0.6648 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.1776, allocations: 7.906 kB / 0.6648 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.1776, allocations: 13.72 kB / 0.6648 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1777, allocations: 318.8 kB / 0.6651 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.1778, allocations: 0 / 0.6651 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.1778, allocations: 21.7 kB / 0.6651 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.1778, allocations: 21.72 kB / 0.6651 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1778, allocations: 4 kB / 0.6651 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.649e-05/0.1779, allocations: 49.62 kB / 0.6652 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1779, allocations: 8 kB / 0.6652 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.178, allocations: 0 / 0.6652 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.178, allocations: 4.062 kB / 0.6652 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.178, allocations: 4 kB / 0.6652 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.178, allocations: 0 / 0.6652 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.1781, allocations: 7.984 kB / 0.6652 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1781, allocations: 0 / 0.6652 GB, free: 7.539 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 7.342e-05/0.1782, allocations: 122.4 kB / 0.6653 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1782, allocations: 0 / 0.6653 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1783, allocations: 124.8 kB / 0.6654 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.579e-05/0.1784, allocations: 188.2 kB / 0.6656 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.439e-05/0.1784, allocations: 176.3 kB / 0.6658 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-05/0.1785, allocations: 188.2 kB / 0.666 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1787, allocations: 405.1 kB / 0.6664 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.1787, allocations: 105 kB / 0.6665 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.1788, allocations: 112.9 kB / 0.6666 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.901e-05/0.1788, allocations: 176.3 kB / 0.6667 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.1789, allocations: 184.2 kB / 0.6669 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.499e-05/0.179, allocations: 184.2 kB / 0.6671 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.089e-05/0.179, allocations: 176.3 kB / 0.6673 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.1792, allocations: 315.7 kB / 0.6676 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1792, allocations: 178.1 kB / 0.6677 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.1793, allocations: 184.2 kB / 0.6679 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1794, allocations: 105.2 kB / 0.668 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.1795, allocations: 192.2 kB / 0.6682 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.1796, allocations: 105 kB / 0.6683 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.1796, allocations: 79.28 kB / 0.6684 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1796, allocations: 0 / 0.6684 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002439/0.1799, allocations: 19.92 kB / 0.6684 GB, free: 4.066 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.0005219/0.1804, allocations: 0.8282 MB / 0.6692 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.1805, allocations: 12 kB / 0.6692 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1805, allocations: 0 / 0.6692 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.1805, allocations: 0 / 0.6692 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1809, allocations: 471.9 kB / 0.6696 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1819, allocations: 1.321 MB / 0.6709 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.1821, allocations: 0.6768 MB / 0.6716 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.1822, allocations: 4 kB / 0.6716 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.1822, allocations: 11.44 kB / 0.6716 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1822, allocations: 0 / 0.6716 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.1994, allocations: 1.512 MB / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.374, allocations: 4.594 kB / 0.6731 GB, free: 15.24 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)