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.006455/0.006455, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001289/0.001289, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9608/0.9608, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 60.05 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4127, allocations: 80.92 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004642/0.4174, allocations: 4.021 MB / 0.6686 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000156/0.4176, allocations: 152.9 kB / 0.6687 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.4176, allocations: 0 / 0.6687 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.28e-05/0.4177, allocations: 5.094 kB / 0.6687 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.4178, allocations: 14.53 kB / 0.6687 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.4181, allocations: 82.62 kB / 0.6688 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.4182, allocations: 38.11 kB / 0.6688 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.4183, allocations: 5.172 kB / 0.6688 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.96e-05/0.4183, allocations: 9.5 kB / 0.6688 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.4184, allocations: 10.27 kB / 0.6689 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4184, allocations: 5.297 kB / 0.6689 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.4186, allocations: 61.75 kB / 0.6689 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.4186, allocations: 5.219 kB / 0.6689 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.4187, allocations: 13.02 kB / 0.6689 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.4188, allocations: 46.98 kB / 0.669 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4188, allocations: 0 / 0.669 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4188, allocations: 1.125 kB / 0.669 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4188, allocations: 0 / 0.669 GB, free: 4.051 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.0003559/0.4192, allocations: 332.2 kB / 0.6693 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4192, allocations: 13.34 kB / 0.6693 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.4193, allocations: 2.25 kB / 0.6693 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.613e-05/0.4194, allocations: 169.6 kB / 0.6695 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.4194, allocations: 27.55 kB / 0.6695 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.4194, allocations: 1.688 kB / 0.6695 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.4196, allocations: 47.44 kB / 0.6695 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4196, allocations: 1.281 kB / 0.6695 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4196, allocations: 3.984 kB / 0.6696 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.4196, allocations: 1.406 kB / 0.6696 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.4197, allocations: 12.64 kB / 0.6696 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.42, allocations: 346 kB / 0.6699 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.19e-05/0.42, allocations: 15.98 kB / 0.6699 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.299e-05/0.4201, allocations: 10.36 kB / 0.6699 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.389e-05/0.4201, allocations: 89.5 kB / 0.67 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.4202, allocations: 31.72 kB / 0.67 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4202, allocations: 5.406 kB / 0.67 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.4203, allocations: 39.31 kB / 0.6701 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.4203, allocations: 55.34 kB / 0.6701 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/0.4204, allocations: 103.8 kB / 0.6702 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.4204, allocations: 26.77 kB / 0.6703 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.4204, allocations: 87.06 kB / 0.6703 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-06/0.4204, allocations: 5.031 kB / 0.6703 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.4205, allocations: 21.67 kB / 0.6704 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.4205, allocations: 318.9 kB / 0.6707 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.4205, allocations: 2.875 kB / 0.6707 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.4206, allocations: 25.95 kB / 0.6707 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.4206, allocations: 19.28 kB / 0.6707 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4206, allocations: 1.312 kB / 0.6707 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.721e-05/0.4207, allocations: 54.75 kB / 0.6708 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4207, allocations: 4.906 kB / 0.6708 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4207, allocations: 0 / 0.6708 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.4207, allocations: 1.594 kB / 0.6708 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/0.4208, allocations: 8.625 kB / 0.6708 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4208, allocations: 1.219 kB / 0.6708 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.4208, allocations: 5.625 kB / 0.6708 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.4208, allocations: 1.281 kB / 0.6708 GB, free: 2.059 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.613e-05/0.4209, allocations: 116.5 kB / 0.6709 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.4209, allocations: 9.391 kB / 0.6709 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.059e-05/0.421, allocations: 112.1 kB / 0.671 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.421, allocations: 185.8 kB / 0.6712 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.421, allocations: 178 kB / 0.6714 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.4211, allocations: 184.2 kB / 0.6715 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.4212, allocations: 411.8 kB / 0.6719 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.4212, allocations: 102.1 kB / 0.672 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.4212, allocations: 110.1 kB / 0.6721 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/0.4212, allocations: 177.5 kB / 0.6723 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.4213, allocations: 181.4 kB / 0.6725 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.4213, allocations: 181.6 kB / 0.6727 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.948e-05/0.4214, allocations: 180.3 kB / 0.6728 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.4215, allocations: 308.9 kB / 0.6731 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.4216, allocations: 187 kB / 0.6733 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.4217, allocations: 181.4 kB / 0.6735 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4218, allocations: 111.9 kB / 0.6736 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.4219, allocations: 185.5 kB / 0.6738 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.4219, allocations: 106 kB / 0.6739 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.422, allocations: 83.81 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.553e-06/0.422, allocations: 0 / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002339/0.4222, allocations: 20.34 kB / 0.674 GB, free: 14.64 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.000223/0.4224, allocations: 204.5 kB / 0.6741 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.412e-05/0.4225, allocations: 10.62 kB / 0.6742 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4225, allocations: 0 / 0.6742 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.4225, allocations: 0 / 0.6742 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.4229, allocations: 463.9 kB / 0.6746 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.4232, allocations: 180.7 kB / 0.6748 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4234, allocations: 0.6726 MB / 0.6754 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.4234, allocations: 7.812 kB / 0.6754 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.4235, allocations: 12.77 kB / 0.6754 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4235, allocations: 1.156 kB / 0.6755 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.002564/0.426, allocations: 0.6379 MB / 0.6761 GB, free: 12.78 MB / 0.5137 GB 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)