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.004642/0.004642, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001216/0.001216, allocations: 194.8 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8297/0.8297, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.11 kB / 0.5857 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1532, allocations: 81.03 MB / 0.6648 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005539/0.1588, allocations: 3.72 MB / 0.6685 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002058/0.1591, allocations: 163.5 kB / 0.6686 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.1591, allocations: 0 / 0.6686 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.1592, allocations: 3.938 kB / 0.6686 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.962e-05/0.1593, allocations: 7.969 kB / 0.6686 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1596, allocations: 95.62 kB / 0.6687 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.524e-05/0.1597, allocations: 35.86 kB / 0.6688 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.1598, allocations: 3.984 kB / 0.6688 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.1598, allocations: 11.98 kB / 0.6688 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.1599, allocations: 11.94 kB / 0.6688 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1599, allocations: 3.984 kB / 0.6688 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.1604, allocations: 183.4 kB / 0.669 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.1605, allocations: 8 kB / 0.669 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.1605, allocations: 19.91 kB / 0.669 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1606, allocations: 36.2 kB / 0.669 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1607, allocations: 0 / 0.669 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1607, allocations: 0 / 0.669 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1607, allocations: 0 / 0.669 GB, free: 1.336 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.0004123/0.1611, allocations: 335.4 kB / 0.6694 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1611, allocations: 13.11 kB / 0.6694 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.1612, allocations: 34.69 kB / 0.6694 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1612, allocations: 8.891 kB / 0.6694 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1614, allocations: 172.4 kB / 0.6696 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.1614, allocations: 30.25 kB / 0.6696 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1614, allocations: 4.125 kB / 0.6696 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1616, allocations: 41.69 kB / 0.6696 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.1616, allocations: 0 / 0.6696 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1616, allocations: 0 / 0.6696 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.1616, allocations: 3.984 kB / 0.6697 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.1617, allocations: 23.92 kB / 0.6697 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.1622, allocations: 341.9 kB / 0.67 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.1622, allocations: 18.58 kB / 0.67 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.1622, allocations: 4.859 kB / 0.67 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.574e-05/0.1623, allocations: 85.16 kB / 0.6701 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.1624, allocations: 38.56 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1624, allocations: 4 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.1625, allocations: 33.64 kB / 0.6702 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1626, allocations: 55.34 kB / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.1627, allocations: 105.8 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1627, allocations: 25.7 kB / 0.6704 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.1627, allocations: 84.09 kB / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.1628, allocations: 7.953 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1628, allocations: 21.7 kB / 0.6705 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1629, allocations: 318.9 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.163, allocations: 0 / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.163, allocations: 17.72 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.163, allocations: 25.64 kB / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.163, allocations: 0 / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.515e-05/0.1631, allocations: 49.72 kB / 0.6709 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1631, allocations: 8 kB / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1631, allocations: 0 / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1632, allocations: 0 / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.141e-05/0.1632, allocations: 7.938 kB / 0.6709 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1632, allocations: 0 / 0.6709 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.1632, allocations: 4 kB / 0.6709 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1633, allocations: 0 / 0.6709 GB, free: 15.17 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 8.87e-05/0.1633, allocations: 117.8 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.1634, allocations: 3.984 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1635, allocations: 125 kB / 0.6711 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.018e-05/0.1636, allocations: 180.2 kB / 0.6713 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-05/0.1637, allocations: 176.3 kB / 0.6715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.538e-05/0.1638, allocations: 192.2 kB / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.164, allocations: 405.2 kB / 0.672 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.45e-05/0.1641, allocations: 105 kB / 0.6721 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.1641, allocations: 108.9 kB / 0.6722 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/0.1642, allocations: 180.2 kB / 0.6724 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.1643, allocations: 184.2 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.088e-05/0.1644, allocations: 180.3 kB / 0.6727 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.022e-05/0.1645, allocations: 184.2 kB / 0.6729 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1646, allocations: 307.7 kB / 0.6732 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.1647, allocations: 182 kB / 0.6734 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.1648, allocations: 184.2 kB / 0.6736 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.165, allocations: 105 kB / 0.6737 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.1651, allocations: 192.2 kB / 0.6738 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.1652, allocations: 105 kB / 0.6739 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.283e-05/0.1652, allocations: 79.28 kB / 0.674 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1653, allocations: 0 / 0.674 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002473/0.1655, allocations: 19.88 kB / 0.674 GB, free: 11.7 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.0006155/0.1661, allocations: 0.8398 MB / 0.6749 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7e-05/0.1662, allocations: 8 kB / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1662, allocations: 0 / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.1662, allocations: 7.938 kB / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1666, allocations: 455.8 kB / 0.6753 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1678, allocations: 1.325 MB / 0.6766 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1681, allocations: 0.6733 MB / 0.6773 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.1682, allocations: 8 kB / 0.6773 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.1682, allocations: 11.42 kB / 0.6773 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1682, allocations: 0 / 0.6773 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2427/0.4109, allocations: 1.527 MB / 0.6788 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.741/9.152, allocations: 12.42 kB / 0.6788 GB, free: 6.84 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 & /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)