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.005689/0.005689, allocations: 105.7 kB / 15.74 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.001258/0.001258, allocations: 199.2 kB / 16.68 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7465/0.7465, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 66.98 kB / 0.5851 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1478, allocations: 80.92 MB / 0.6641 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005243/0.1531, allocations: 3.731 MB / 0.6678 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001916/0.1533, allocations: 159.4 kB / 0.6679 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.1534, allocations: 0 / 0.6679 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.1535, allocations: 4 kB / 0.6679 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.498e-05/0.1536, allocations: 11.91 kB / 0.6679 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.154, allocations: 87.69 kB / 0.668 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.538e-05/0.1541, allocations: 27.92 kB / 0.6681 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.1541, allocations: 4 kB / 0.6681 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.1542, allocations: 23.91 kB / 0.6681 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.1542, allocations: 11.94 kB / 0.6681 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1542, allocations: 0 / 0.6681 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.1547, allocations: 191.4 kB / 0.6683 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.1548, allocations: 4 kB / 0.6683 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.1548, allocations: 15.92 kB / 0.6683 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1549, allocations: 38.78 kB / 0.6683 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1549, allocations: 3.984 kB / 0.6683 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1549, allocations: 0 / 0.6683 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.1549, allocations: 4 kB / 0.6683 GB, free: 1.98 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.0003609/0.1553, allocations: 332.4 kB / 0.6687 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1553, allocations: 13.11 kB / 0.6687 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.1554, allocations: 34.75 kB / 0.6687 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1554, allocations: 4.844 kB / 0.6687 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1555, allocations: 164.4 kB / 0.6689 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.1556, allocations: 34.2 kB / 0.6689 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.1556, allocations: 4.125 kB / 0.6689 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1557, allocations: 53.61 kB / 0.669 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1558, allocations: 4 kB / 0.669 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1558, allocations: 4 kB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.1558, allocations: 0 / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/0.1558, allocations: 15.92 kB / 0.669 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1562, allocations: 334 kB / 0.6693 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.338e-05/0.1563, allocations: 22.52 kB / 0.6693 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.1563, allocations: 8.859 kB / 0.6693 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-05/0.1564, allocations: 85.16 kB / 0.6694 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1564, allocations: 38.56 kB / 0.6694 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1564, allocations: 0 / 0.6694 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.1566, allocations: 29.7 kB / 0.6695 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.1566, allocations: 51.41 kB / 0.6695 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.1567, allocations: 113.9 kB / 0.6696 GB, free: 432 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1567, allocations: 25.7 kB / 0.6697 GB, free: 400 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.1568, allocations: 84.05 kB / 0.6697 GB, free: 312 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-06/0.1568, allocations: 7.906 kB / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1568, allocations: 17.7 kB / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1569, allocations: 318.8 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.157, allocations: 0 / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.157, allocations: 21.7 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.157, allocations: 21.72 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.157, allocations: 0 / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.028e-05/0.1571, allocations: 49.91 kB / 0.6701 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1571, allocations: 8 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1572, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1572, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.1572, allocations: 4 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1572, allocations: 4.062 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.1573, allocations: 7.984 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1573, allocations: 0 / 0.6702 GB, free: 15.82 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.207e-05/0.1574, allocations: 121.7 kB / 0.6703 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1574, allocations: 3.984 kB / 0.6703 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.949e-05/0.1575, allocations: 120.9 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.905e-05/0.1576, allocations: 176.3 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.127e-05/0.1576, allocations: 188.2 kB / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.874e-05/0.1577, allocations: 188.2 kB / 0.6709 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.158, allocations: 409.1 kB / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-05/0.158, allocations: 101 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.1581, allocations: 105 kB / 0.6715 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.771e-05/0.1581, allocations: 184.2 kB / 0.6717 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/0.1582, allocations: 176.3 kB / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-05/0.1583, allocations: 184.2 kB / 0.672 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.472e-05/0.1583, allocations: 180.3 kB / 0.6722 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.1585, allocations: 315.6 kB / 0.6725 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.1585, allocations: 178.1 kB / 0.6727 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.1586, allocations: 192.1 kB / 0.6729 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1588, allocations: 109 kB / 0.673 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.1589, allocations: 192.2 kB / 0.6732 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.1589, allocations: 101 kB / 0.6732 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.1589, allocations: 83.28 kB / 0.6733 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1589, allocations: 0 / 0.6733 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000255/0.1592, allocations: 19.94 kB / 0.6733 GB, free: 12.34 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.0004661/0.1597, allocations: 0.8334 MB / 0.6742 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.002e-05/0.1597, allocations: 8 kB / 0.6742 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1598, allocations: 0 / 0.6742 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1598, allocations: 0 / 0.6742 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1601, allocations: 455.7 kB / 0.6746 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009153/0.161, allocations: 1.328 MB / 0.6759 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1613, allocations: 0.6729 MB / 0.6766 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.1613, allocations: 11.36 kB / 0.6766 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.1614, allocations: 7.438 kB / 0.6766 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1614, allocations: 0 / 0.6766 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.1774, allocations: 1.514 MB / 0.6781 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.412, allocations: 8.156 kB / 0.6781 GB, free: 7.512 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)