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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002916/0.002916, allocations: 190.3 kB / 16.67 MB, free: 6.57 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.6 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001928, allocations: 63.91 kB / 0.5862 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5262, allocations: 81.02 MB / 0.6653 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00519/0.5314, allocations: 3.725 MB / 0.669 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001844/0.5316, allocations: 154.4 kB / 0.6691 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.5317, allocations: 0 / 0.6691 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.5318, allocations: 7.922 kB / 0.6691 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.5319, allocations: 14.45 kB / 0.6691 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.5322, allocations: 83.56 kB / 0.6692 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/0.5323, allocations: 37.16 kB / 0.6692 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.5324, allocations: 5.359 kB / 0.6693 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.5324, allocations: 13.28 kB / 0.6693 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.5325, allocations: 13.47 kB / 0.6693 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.5325, allocations: 1.125 kB / 0.6693 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.5331, allocations: 189.1 kB / 0.6695 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.5331, allocations: 10.22 kB / 0.6695 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.5332, allocations: 16.5 kB / 0.6695 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.5333, allocations: 38.06 kB / 0.6695 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5333, allocations: 0 / 0.6695 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5333, allocations: 1.312 kB / 0.6695 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5333, allocations: 0 / 0.6695 GB, free: 3.883 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.0003633/0.5337, allocations: 333.8 kB / 0.6698 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5337, allocations: 17.45 kB / 0.6699 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.5338, allocations: 6.016 kB / 0.6699 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.5339, allocations: 161.7 kB / 0.67 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.534, allocations: 35.73 kB / 0.67 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.534, allocations: 1.656 kB / 0.6701 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.5341, allocations: 44.25 kB / 0.6701 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5341, allocations: 0 / 0.6701 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5342, allocations: 3.984 kB / 0.6701 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.5342, allocations: 1.438 kB / 0.6701 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.5342, allocations: 17 kB / 0.6701 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.5346, allocations: 337.1 kB / 0.6704 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.775e-05/0.5347, allocations: 16.92 kB / 0.6705 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.5347, allocations: 13.94 kB / 0.6705 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/0.5348, allocations: 83.33 kB / 0.6705 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5348, allocations: 30.56 kB / 0.6706 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.5348, allocations: 0 / 0.6706 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.5349, allocations: 44.72 kB / 0.6706 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.535, allocations: 55.41 kB / 0.6707 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.535, allocations: 100.3 kB / 0.6708 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.5351, allocations: 25.7 kB / 0.6708 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.5351, allocations: 89.27 kB / 0.6709 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.5351, allocations: 8.984 kB / 0.6709 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.5351, allocations: 17.84 kB / 0.6709 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.5352, allocations: 316 kB / 0.6712 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.5352, allocations: 6.75 kB / 0.6712 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.5352, allocations: 21.02 kB / 0.6712 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.5353, allocations: 23.84 kB / 0.6713 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5353, allocations: 0 / 0.6713 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.617e-05/0.5354, allocations: 50.66 kB / 0.6713 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5354, allocations: 6.625 kB / 0.6713 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.5354, allocations: 4.062 kB / 0.6713 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5354, allocations: 1.5 kB / 0.6713 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.665e-05/0.5355, allocations: 3.688 kB / 0.6713 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5355, allocations: 1.375 kB / 0.6713 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.5355, allocations: 1.469 kB / 0.6713 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.5355, allocations: 5.484 kB / 0.6713 GB, free: 1.895 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 4.895e-05/0.5356, allocations: 115.9 kB / 0.6714 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.5356, allocations: 9.641 kB / 0.6714 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.322e-05/0.5357, allocations: 119.4 kB / 0.6716 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.5357, allocations: 189.8 kB / 0.6717 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/0.5358, allocations: 177.6 kB / 0.6719 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/0.5358, allocations: 188.2 kB / 0.6721 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.5359, allocations: 404.8 kB / 0.6725 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.536, allocations: 110.3 kB / 0.6726 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.536, allocations: 101 kB / 0.6727 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/0.536, allocations: 182.5 kB / 0.6728 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.536, allocations: 184.2 kB / 0.673 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-05/0.5361, allocations: 177.5 kB / 0.6732 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.567e-05/0.5362, allocations: 181.4 kB / 0.6734 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.5364, allocations: 312 kB / 0.6737 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.5365, allocations: 183.2 kB / 0.6738 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.5366, allocations: 177.8 kB / 0.674 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.5368, allocations: 112.1 kB / 0.6741 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.5369, allocations: 181.7 kB / 0.6743 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.537, allocations: 108.9 kB / 0.6744 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.917e-05/0.537, allocations: 89.09 kB / 0.6745 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.537, allocations: 0 / 0.6745 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00024/0.5373, allocations: 19.52 kB / 0.6745 GB, free: 14.46 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.0002738/0.5376, allocations: 204.4 kB / 0.6747 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.5377, allocations: 14.64 kB / 0.6747 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5377, allocations: 0 / 0.6747 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.5377, allocations: 0 / 0.6747 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.5381, allocations: 455.9 kB / 0.6751 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.5385, allocations: 191.6 kB / 0.6753 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.5388, allocations: 0.6724 MB / 0.676 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.5389, allocations: 10.89 kB / 0.676 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.5389, allocations: 10.03 kB / 0.676 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.5389, allocations: 0 / 0.676 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.003285/0.5422, allocations: 0.6384 MB / 0.6766 GB, free: 12.59 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)