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.001254/0.001254, 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.00132/0.00132, allocations: 200.8 kB / 16.14 MB, free: 6.656 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.897/0.897, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 61.06 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1506, allocations: 80.94 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005055/0.1557, allocations: 3.77 MB / 0.5875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.1559, allocations: 155.5 kB / 0.5876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.1559, allocations: 0 / 0.5876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.942e-05/0.156, allocations: 7.938 kB / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.1561, allocations: 11.97 kB / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1563, allocations: 79.75 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.1564, allocations: 59.77 kB / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.1565, allocations: 0 / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.1565, allocations: 15.98 kB / 0.5878 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.1566, allocations: 11.98 kB / 0.5878 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1566, allocations: 4 kB / 0.5878 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.1571, allocations: 195.4 kB / 0.588 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.1572, allocations: 7.938 kB / 0.588 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.1572, allocations: 15.98 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1573, allocations: 48.11 kB / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1573, allocations: 0 / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1573, allocations: 0 / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1573, allocations: 0 / 0.5881 GB, free: 496 kB / 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.0003587/0.1577, allocations: 335.6 kB / 0.5884 GB, free: 112 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1577, allocations: 12.02 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1578, allocations: 34.75 kB / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1578, allocations: 8.875 kB / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1579, allocations: 168.3 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.158, allocations: 26.27 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.158, allocations: 8.125 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1581, allocations: 45.67 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1582, allocations: 3.938 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1582, allocations: 3.984 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.1582, allocations: 4 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.1582, allocations: 11.98 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.1587, allocations: 345.9 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.373e-05/0.1587, allocations: 18.58 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.1587, allocations: 8.922 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.362e-05/0.1588, allocations: 81.11 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1588, allocations: 30.56 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1588, allocations: 4 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.159, allocations: 41.62 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.159, allocations: 51.41 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.1591, allocations: 97.86 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1591, allocations: 25.7 kB / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.1592, allocations: 92.03 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.1592, allocations: 7.938 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.1592, allocations: 13.72 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1593, allocations: 318.9 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.1593, allocations: 11.98 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.1594, allocations: 13.72 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.1594, allocations: 21.66 kB / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1594, allocations: 0 / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.811e-05/0.1595, allocations: 49.66 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1595, allocations: 8 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1595, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1595, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.1596, allocations: 19.92 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1596, allocations: 0 / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.1596, allocations: 0 / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1596, allocations: 4.281 kB / 0.5899 GB, free: 14.31 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 6.826e-05/0.1597, allocations: 109.8 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1597, allocations: 0 / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-05/0.1598, allocations: 128.9 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.668e-05/0.1599, allocations: 180.2 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-05/0.1599, allocations: 180.3 kB / 0.5905 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/0.16, allocations: 180.2 kB / 0.5907 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1602, allocations: 413.2 kB / 0.591 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/0.1603, allocations: 101 kB / 0.5911 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.1603, allocations: 104.9 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.154e-05/0.1604, allocations: 180.2 kB / 0.5914 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.1604, allocations: 184.2 kB / 0.5916 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.195e-05/0.1605, allocations: 184.3 kB / 0.5918 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.974e-05/0.1606, allocations: 188.2 kB / 0.5919 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1607, allocations: 307.7 kB / 0.5922 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.1608, allocations: 189.9 kB / 0.5924 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.327e-05/0.1609, allocations: 180.3 kB / 0.5926 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.161, allocations: 113 kB / 0.5927 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.1611, allocations: 180.2 kB / 0.5929 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.1611, allocations: 101 kB / 0.593 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.1612, allocations: 91.27 kB / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.583e-06/0.1612, allocations: 0 / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002312/0.1614, allocations: 23.81 kB / 0.5931 GB, free: 10.84 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.0005032/0.1619, allocations: 0.8282 MB / 0.5939 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.065e-05/0.162, allocations: 8.328 kB / 0.5939 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.162, allocations: 0 / 0.5939 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.162, allocations: 0 / 0.5939 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1624, allocations: 0.5342 MB / 0.5944 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.1633, allocations: 1.318 MB / 0.5957 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.1636, allocations: 0.677 MB / 0.5964 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.1636, allocations: 11.12 kB / 0.5964 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.1637, allocations: 7.438 kB / 0.5964 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1637, allocations: 0 / 0.5964 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2634/0.4271, allocations: 1.369 MB / 0.5977 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.4273, allocations: 218.7 kB / 0.5979 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.42, allocations: 4 kB / 0.5979 GB, free: 5.848 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)