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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001476/0.001476, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001563/0.001563, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7898/0.7898, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.62 kB / 0.582 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1571, allocations: 80.21 MB / 0.6603 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4897/0.6468, allocations: 135.4 MB / 0.7926 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.6471, allocations: 56.92 kB / 0.7926 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.6471, allocations: 0 / 0.7926 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.6473, allocations: 0 / 0.7926 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.6473, allocations: 14.98 kB / 0.7926 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009095/0.6483, allocations: 244.1 kB / 0.7929 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.6484, allocations: 27.61 kB / 0.7929 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.6484, allocations: 3.125 kB / 0.7929 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.6485, allocations: 20.45 kB / 0.7929 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.6485, allocations: 16.52 kB / 0.7929 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.6485, allocations: 1.031 kB / 0.7929 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.6491, allocations: 246.9 kB / 0.7932 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.6491, allocations: 4.562 kB / 0.7932 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.6492, allocations: 16.92 kB / 0.7932 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.6497, allocations: 190.5 kB / 0.7934 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6497, allocations: 0 / 0.7934 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6497, allocations: 3.938 kB / 0.7934 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.6497, allocations: 1.156 kB / 0.7934 GB, free: 13.16 MB / 0.5919 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.0004592/0.6502, allocations: 354.1 kB / 0.7937 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.6502, allocations: 11.3 kB / 0.7937 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.6503, allocations: 7.156 kB / 0.7937 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.6504, allocations: 165.4 kB / 0.7939 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.6505, allocations: 34.11 kB / 0.7939 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.6505, allocations: 5.031 kB / 0.7939 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.6506, allocations: 49.38 kB / 0.794 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6506, allocations: 0 / 0.794 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.6506, allocations: 0 / 0.794 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.6507, allocations: 1.125 kB / 0.794 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.6507, allocations: 18.45 kB / 0.794 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.6515, allocations: 0.5993 MB / 0.7946 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4e-05/0.6516, allocations: 19.86 kB / 0.7946 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.6516, allocations: 6.266 kB / 0.7946 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.6518, allocations: 335.9 kB / 0.7949 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.6519, allocations: 38.45 kB / 0.795 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6519, allocations: 0 / 0.795 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000159/0.652, allocations: 32.52 kB / 0.795 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.6521, allocations: 53.75 kB / 0.795 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.6522, allocations: 108.5 kB / 0.7951 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.6522, allocations: 25.7 kB / 0.7952 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.6523, allocations: 89.11 kB / 0.7952 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-06/0.6523, allocations: 5.969 kB / 0.7953 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.6523, allocations: 24.08 kB / 0.7953 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6524, allocations: 323 kB / 0.7956 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.6525, allocations: 3.984 kB / 0.7956 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.6525, allocations: 14.16 kB / 0.7956 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.6525, allocations: 21.69 kB / 0.7956 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6525, allocations: 5.125 kB / 0.7956 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.726e-05/0.6526, allocations: 50.88 kB / 0.7957 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6527, allocations: 5.5 kB / 0.7957 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6527, allocations: 1 kB / 0.7957 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6527, allocations: 1 kB / 0.7957 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.6527, allocations: 6.281 kB / 0.7957 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6527, allocations: 1.094 kB / 0.7957 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.6528, allocations: 1.188 kB / 0.7957 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.6528, allocations: 2.062 kB / 0.7957 GB, free: 10.69 MB / 0.5919 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.002e-05/0.6529, allocations: 126.1 kB / 0.7958 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.6529, allocations: 2.281 kB / 0.7958 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.653, allocations: 118.4 kB / 0.7959 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/0.6531, allocations: 181.4 kB / 0.7961 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-05/0.6532, allocations: 189.8 kB / 0.7963 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.539e-05/0.6532, allocations: 181.3 kB / 0.7965 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.6535, allocations: 410.2 kB / 0.7968 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.259e-05/0.6535, allocations: 103.9 kB / 0.7969 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.6536, allocations: 102.1 kB / 0.797 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-05/0.6537, allocations: 183.8 kB / 0.7972 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.6537, allocations: 177.5 kB / 0.7974 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.711e-05/0.6538, allocations: 185.3 kB / 0.7976 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.24e-05/0.6539, allocations: 180.5 kB / 0.7977 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.654, allocations: 314 kB / 0.798 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.6541, allocations: 184.9 kB / 0.7982 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.6542, allocations: 185.4 kB / 0.7984 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.6543, allocations: 107 kB / 0.7985 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.6544, allocations: 183.7 kB / 0.7987 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.6545, allocations: 102.1 kB / 0.7988 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.6545, allocations: 88.94 kB / 0.7988 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6545, allocations: 0 / 0.7988 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003695/0.6549, allocations: 60.7 kB / 0.7989 GB, free: 7.301 MB / 0.5919 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.0003541/0.6553, allocations: 254.2 kB / 0.7991 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.794e-05/0.6553, allocations: 14.59 kB / 0.7992 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6554, allocations: 4.125 kB / 0.7992 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.6554, allocations: 0 / 0.7992 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.6558, allocations: 462 kB / 0.7996 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.656, allocations: 196.8 kB / 0.7998 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.6563, allocations: 0.6718 MB / 0.8004 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.6563, allocations: 16.72 kB / 0.8005 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6563, allocations: 0 / 0.8005 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of Templates: time 0.0031/0.6594, allocations: 1.244 MB / 0.8017 GB, free: 5.598 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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)