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.001368/0.001368, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001367/0.001367, allocations: 193.5 kB / 16.14 MB, free: 6.715 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6872/0.6872, allocations: 132.2 MB / 422.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 60.16 kB / 0.5012 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1444, allocations: 80.2 MB / 0.5795 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005572/0.15, allocations: 3.786 MB / 0.5832 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.1502, allocations: 163.5 kB / 0.5833 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.1503, allocations: 0 / 0.5833 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.954e-05/0.1504, allocations: 0 / 0.5833 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.1505, allocations: 19.84 kB / 0.5834 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1508, allocations: 78.64 kB / 0.5834 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.1509, allocations: 59.81 kB / 0.5835 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.1509, allocations: 4 kB / 0.5835 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.1509, allocations: 15.98 kB / 0.5835 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.151, allocations: 11.98 kB / 0.5835 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.151, allocations: 3.938 kB / 0.5835 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005202/0.1515, allocations: 199.4 kB / 0.5837 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.1516, allocations: 0 / 0.5837 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1516, allocations: 15.98 kB / 0.5837 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1518, allocations: 52.11 kB / 0.5838 GB, free: 4.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1518, allocations: 0 / 0.5838 GB, free: 4.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.1518, allocations: 0 / 0.5838 GB, free: 4.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1518, allocations: 0 / 0.5838 GB, free: 4.715 MB / 494.1 MB 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.0003281/0.1521, allocations: 327.6 kB / 0.5841 GB, free: 4.348 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1522, allocations: 8.031 kB / 0.5841 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.1522, allocations: 38.73 kB / 0.5841 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1522, allocations: 0.9375 kB / 0.5841 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.1523, allocations: 172.2 kB / 0.5843 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.1524, allocations: 30.27 kB / 0.5843 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1524, allocations: 4.125 kB / 0.5843 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1525, allocations: 49.66 kB / 0.5844 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1525, allocations: 4 kB / 0.5844 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1526, allocations: 0 / 0.5844 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1526, allocations: 3.984 kB / 0.5844 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.936e-05/0.1526, allocations: 11.98 kB / 0.5844 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.153, allocations: 337.9 kB / 0.5847 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.516e-05/0.153, allocations: 30.55 kB / 0.5848 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.1531, allocations: 4.859 kB / 0.5848 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.666e-05/0.1531, allocations: 81.17 kB / 0.5848 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1532, allocations: 30.56 kB / 0.5849 GB, free: 3.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.1532, allocations: 7.938 kB / 0.5849 GB, free: 3.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.1533, allocations: 37.69 kB / 0.5849 GB, free: 3.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1533, allocations: 55.34 kB / 0.585 GB, free: 3.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.474e-05/0.1534, allocations: 105.8 kB / 0.5851 GB, free: 3.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1534, allocations: 25.7 kB / 0.5851 GB, free: 3.129 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1535, allocations: 92.03 kB / 0.5852 GB, free: 3.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-06/0.1535, allocations: 0 / 0.5852 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.1535, allocations: 17.62 kB / 0.5852 GB, free: 3.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.1536, allocations: 318.9 kB / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.1536, allocations: 11.98 kB / 0.5855 GB, free: 2.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.1536, allocations: 13.72 kB / 0.5855 GB, free: 2.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.1537, allocations: 21.72 kB / 0.5855 GB, free: 2.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1537, allocations: 0 / 0.5855 GB, free: 2.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.838e-05/0.1538, allocations: 49.62 kB / 0.5856 GB, free: 2.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1538, allocations: 8.062 kB / 0.5856 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1538, allocations: 4 kB / 0.5856 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1538, allocations: 0 / 0.5856 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.807e-05/0.1538, allocations: 4 kB / 0.5856 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1539, allocations: 3.984 kB / 0.5856 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.1539, allocations: 4 kB / 0.5856 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1539, allocations: 4 kB / 0.5856 GB, free: 2.551 MB / 494.1 MB 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 5.874e-05/0.154, allocations: 114.4 kB / 0.5857 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.154, allocations: 4 kB / 0.5857 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/0.1541, allocations: 125 kB / 0.5858 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.497e-05/0.1541, allocations: 180.2 kB / 0.586 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-05/0.1542, allocations: 176.3 kB / 0.5862 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/0.1542, allocations: 176.3 kB / 0.5864 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1544, allocations: 413.1 kB / 0.5867 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.1545, allocations: 105 kB / 0.5868 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.1545, allocations: 108.9 kB / 0.587 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.466e-05/0.1546, allocations: 180.2 kB / 0.5871 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.1546, allocations: 176.3 kB / 0.5873 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.955e-05/0.1547, allocations: 188.2 kB / 0.5875 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-05/0.1547, allocations: 184.3 kB / 0.5876 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.1548, allocations: 307.7 kB / 0.5879 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1549, allocations: 186 kB / 0.5881 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.155, allocations: 180.2 kB / 0.5883 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1551, allocations: 109 kB / 0.5884 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.1552, allocations: 184.2 kB / 0.5886 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.1552, allocations: 108.9 kB / 0.5887 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.1552, allocations: 87.27 kB / 0.5888 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1552, allocations: 0 / 0.5888 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002198/0.1555, allocations: 27.81 kB / 0.5888 GB, free: 15.08 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.0004156/0.1559, allocations: 0.8243 MB / 0.5896 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.494e-05/0.1559, allocations: 8.328 kB / 0.5896 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.156, allocations: 0 / 0.5896 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.156, allocations: 0 / 0.5896 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1563, allocations: 0.535 MB / 0.5901 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.1572, allocations: 1.315 MB / 0.5914 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1574, allocations: 0.6813 MB / 0.5921 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.1574, allocations: 8 kB / 0.5921 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.1575, allocations: 11.44 kB / 0.5921 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1575, allocations: 0 / 0.5921 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2418/0.3993, allocations: 1.366 MB / 0.5934 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.3995, allocations: 221.7 kB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.261, allocations: 3.938 kB / 0.5936 GB, free: 10.08 MB / 0.4981 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)