Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009213, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008995/0.0008994, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8336/0.8336, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 11.98 kB / 0.5068 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 82.32 MB / 0.5872 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3477/0.4955, allocations: 114.3 MB / 0.6988 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006353/0.4962, allocations: 481 kB / 0.6993 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.4962, allocations: 3.938 kB / 0.6993 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.386e-05/0.4963, allocations: 6.422 kB / 0.6993 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.4964, allocations: 14.7 kB / 0.6993 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.497, allocations: 196.1 kB / 0.6995 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.497, allocations: 21.56 kB / 0.6995 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.4971, allocations: 2.328 kB / 0.6995 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.4971, allocations: 13.72 kB / 0.6995 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.4972, allocations: 9.844 kB / 0.6995 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.4972, allocations: 1.062 kB / 0.6995 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.4976, allocations: 177.2 kB / 0.6997 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.4976, allocations: 8.641 kB / 0.6997 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.4977, allocations: 28.27 kB / 0.6997 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.4979, allocations: 104.8 kB / 0.6998 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.4979, allocations: 1.25 kB / 0.6998 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4979, allocations: 0 / 0.6998 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.4979, allocations: 0 / 0.6998 GB, free: 10.27 MB / 0.5294 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.0003579/0.4983, allocations: 352.6 kB / 0.7002 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.4983, allocations: 13.06 kB / 0.7002 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.4984, allocations: 2.125 kB / 0.7002 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4985, allocations: 167.4 kB / 0.7003 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.4985, allocations: 27.66 kB / 0.7004 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4986, allocations: 10.67 kB / 0.7004 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.4987, allocations: 41.94 kB / 0.7004 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.4987, allocations: 4 kB / 0.7004 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4987, allocations: 2.141 kB / 0.7004 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.4988, allocations: 1.094 kB / 0.7004 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.4988, allocations: 16.92 kB / 0.7004 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.4994, allocations: 0.594 MB / 0.701 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.101e-05/0.4995, allocations: 21.47 kB / 0.701 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.4997, allocations: 332 kB / 0.7013 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.4998, allocations: 36.53 kB / 0.7014 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4998, allocations: 0 / 0.7014 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001217/0.4999, allocations: 41.53 kB / 0.7014 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.4999, allocations: 52.72 kB / 0.7015 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.5, allocations: 101.5 kB / 0.7016 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.5, allocations: 27.97 kB / 0.7016 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.5001, allocations: 93.8 kB / 0.7017 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.5001, allocations: 8.359 kB / 0.7017 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5001, allocations: 5.031 kB / 0.7017 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.5002, allocations: 312 kB / 0.702 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.5002, allocations: 3.203 kB / 0.702 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.5002, allocations: 19.23 kB / 0.702 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.5003, allocations: 8.703 kB / 0.702 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5003, allocations: 1.062 kB / 0.702 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.702e-05/0.5003, allocations: 48.88 kB / 0.7021 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5004, allocations: 5.891 kB / 0.7021 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.5004, allocations: 1.094 kB / 0.7021 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.5004, allocations: 0 / 0.7021 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.022e-05/0.5004, allocations: 6.938 kB / 0.7021 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.5004, allocations: 0 / 0.7021 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.5005, allocations: 5.734 kB / 0.7021 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.5005, allocations: 2.156 kB / 0.7021 GB, free: 7.793 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.5005, allocations: 117 kB / 0.7022 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.5006, allocations: 1.734 kB / 0.7022 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.5007, allocations: 122.3 kB / 0.7023 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.938e-05/0.5007, allocations: 179 kB / 0.7025 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.237e-05/0.5008, allocations: 180.2 kB / 0.7027 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.014e-05/0.5008, allocations: 186.3 kB / 0.7028 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.501, allocations: 408.9 kB / 0.7032 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.5011, allocations: 105.1 kB / 0.7033 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.5011, allocations: 102.8 kB / 0.7034 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.125e-05/0.5012, allocations: 186.4 kB / 0.7036 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.5012, allocations: 186.4 kB / 0.7038 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.811e-05/0.5013, allocations: 182.6 kB / 0.704 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.637e-05/0.5013, allocations: 177 kB / 0.7041 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.5014, allocations: 310.4 kB / 0.7044 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.5015, allocations: 182 kB / 0.7046 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.5016, allocations: 189.9 kB / 0.7048 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.5017, allocations: 112 kB / 0.7049 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.5018, allocations: 181.3 kB / 0.7051 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.5018, allocations: 107.3 kB / 0.7052 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.5019, allocations: 81.27 kB / 0.7052 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5019, allocations: 0 / 0.7052 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002762/0.5022, allocations: 59.38 kB / 0.7053 GB, free: 4.395 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002684/0.5024, allocations: 250.5 kB / 0.7055 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.967e-05/0.5025, allocations: 14.89 kB / 0.7056 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5025, allocations: 0 / 0.7056 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.5025, allocations: 5.25 kB / 0.7056 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.5028, allocations: 0.5224 MB / 0.7061 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.503, allocations: 192.6 kB / 0.7062 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5033, allocations: 0.6772 MB / 0.7069 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.5033, allocations: 6.188 kB / 0.7069 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.5033, allocations: 9.422 kB / 0.7069 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.5033, allocations: 0 / 0.7069 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of Templates: time 0.003716/0.5071, allocations: 1.211 MB / 0.7081 GB, free: 2.609 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: