Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 107.1 kB / 15.99 MB, free: 6.348 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.001792/0.001792, allocations: 190.9 kB / 16.91 MB, free: 6.184 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8191/0.8191, allocations: 135.1 MB / 425.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.89 kB / 0.5055 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.35, allocations: 80.92 MB / 0.5845 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004591/0.3547, allocations: 4.046 MB / 0.5885 GB, free: 21.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001709/0.3549, allocations: 162.5 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.3549, allocations: 1.156 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.3551, allocations: 3.938 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.647e-05/0.3551, allocations: 6.609 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3555, allocations: 77.61 kB / 0.5887 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.3556, allocations: 33.03 kB / 0.5887 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.3556, allocations: 3.25 kB / 0.5887 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.3556, allocations: 21.75 kB / 0.5888 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.3557, allocations: 10.12 kB / 0.5888 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.3557, allocations: 3.125 kB / 0.5888 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3559, allocations: 58.34 kB / 0.5888 GB, free: 21.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.3559, allocations: 9.406 kB / 0.5888 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.356, allocations: 9.312 kB / 0.5888 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.817e-05/0.3561, allocations: 31.47 kB / 0.5889 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3561, allocations: 0 / 0.5889 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3561, allocations: 4.594 kB / 0.5889 GB, free: 21.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3561, allocations: 1.375 kB / 0.5889 GB, free: 21.71 MB / 446.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.0003424/0.3564, allocations: 348.2 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3565, allocations: 9.984 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.3565, allocations: 3.5 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.3566, allocations: 171.1 kB / 0.5894 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.3567, allocations: 27.7 kB / 0.5894 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3567, allocations: 1.438 kB / 0.5894 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3569, allocations: 48.09 kB / 0.5895 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3569, allocations: 0.9375 kB / 0.5895 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3569, allocations: 0 / 0.5895 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.3569, allocations: 3.656 kB / 0.5895 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.357, allocations: 12.45 kB / 0.5895 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.3573, allocations: 333.7 kB / 0.5898 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.588e-05/0.3574, allocations: 22.67 kB / 0.5898 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.3574, allocations: 6.453 kB / 0.5898 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.87e-05/0.3575, allocations: 91.41 kB / 0.5899 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3575, allocations: 31.75 kB / 0.5899 GB, free: 20.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3575, allocations: 1.75 kB / 0.5899 GB, free: 20.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.3576, allocations: 42.97 kB / 0.59 GB, free: 20.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.3577, allocations: 52.38 kB / 0.59 GB, free: 20.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.3577, allocations: 106.1 kB / 0.5901 GB, free: 20.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.3578, allocations: 29.64 kB / 0.5902 GB, free: 20.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.3578, allocations: 85.23 kB / 0.5902 GB, free: 20.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.3578, allocations: 1.125 kB / 0.5902 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.3578, allocations: 23.3 kB / 0.5903 GB, free: 20.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.3579, allocations: 316.3 kB / 0.5906 GB, free: 19.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.3579, allocations: 6.062 kB / 0.5906 GB, free: 19.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.3579, allocations: 22.95 kB / 0.5906 GB, free: 19.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.358, allocations: 17.34 kB / 0.5906 GB, free: 19.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.358, allocations: 0 / 0.5906 GB, free: 19.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.454e-05/0.358, allocations: 51.22 kB / 0.5907 GB, free: 19.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3581, allocations: 5.969 kB / 0.5907 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3581, allocations: 0.7812 kB / 0.5907 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3581, allocations: 1 kB / 0.5907 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.351e-05/0.3581, allocations: 6.5 kB / 0.5907 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3581, allocations: 1.312 kB / 0.5907 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.3582, allocations: 9.219 kB / 0.5907 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.3582, allocations: 9.062 kB / 0.5907 GB, free: 19.73 MB / 446.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.962e-05/0.3582, allocations: 114 kB / 0.5908 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3583, allocations: 5.391 kB / 0.5908 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.752e-05/0.3584, allocations: 117.4 kB / 0.5909 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.3584, allocations: 185.5 kB / 0.5911 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.373e-05/0.3584, allocations: 180.4 kB / 0.5913 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.3584, allocations: 185.6 kB / 0.5914 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3586, allocations: 411.3 kB / 0.5918 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.3586, allocations: 102 kB / 0.5919 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.3586, allocations: 106.1 kB / 0.592 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.233e-05/0.3586, allocations: 178.9 kB / 0.5922 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3587, allocations: 176.8 kB / 0.5924 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-05/0.3587, allocations: 188 kB / 0.5926 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.158e-05/0.3587, allocations: 177.6 kB / 0.5927 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.489e-05/0.3588, allocations: 308.3 kB / 0.593 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.3588, allocations: 181.6 kB / 0.5932 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.3589, allocations: 185.6 kB / 0.5934 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.359, allocations: 108 kB / 0.5935 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.359, allocations: 182.4 kB / 0.5936 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3591, allocations: 106.1 kB / 0.5937 GB, free: 16.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.3591, allocations: 94.22 kB / 0.5938 GB, free: 16.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3591, allocations: 0 / 0.5938 GB, free: 16.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.3594, allocations: 12.72 kB / 0.5938 GB, free: 16.34 MB / 446.1 MB 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.0002194/0.3596, allocations: 199.7 kB / 0.594 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.985e-05/0.3597, allocations: 12.34 kB / 0.594 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3597, allocations: 0 / 0.594 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3597, allocations: 0 / 0.594 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.36, allocations: 465.8 kB / 0.5945 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.3602, allocations: 220.1 kB / 0.5947 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.167e-05/0.3603, allocations: 0.6726 MB / 0.5954 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.3603, allocations: 8.844 kB / 0.5954 GB, free: 14.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3603, allocations: 5.312 kB / 0.5954 GB, free: 14.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002103/0.3624, allocations: 0.7496 MB / 0.5961 GB, free: 14.32 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)