Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7941/0.7941, allocations: 143.4 MB / 159.2 MB, free: 4.926 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 190.9 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 95.7 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 281.2 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001584, allocations: 79.88 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3652, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1386/0.5038, allocations: 133.3 MB / 0.8981 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001762/0.5041, allocations: 51.86 kB / 0.8982 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.5041, allocations: 0 / 0.8982 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.5042, allocations: 3.984 kB / 0.8982 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.5044, allocations: 11.94 kB / 0.8982 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008508/0.5052, allocations: 224.3 kB / 0.8984 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.5053, allocations: 55.88 kB / 0.8985 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.5054, allocations: 8 kB / 0.8985 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.5054, allocations: 15.92 kB / 0.8985 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.5055, allocations: 15.81 kB / 0.8985 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.5055, allocations: 4 kB / 0.8985 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.506, allocations: 247.4 kB / 0.8987 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.506, allocations: 0 / 0.8987 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.5061, allocations: 19.86 kB / 0.8988 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.5064, allocations: 194.3 kB / 0.899 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5065, allocations: 0 / 0.899 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5065, allocations: 0 / 0.899 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5065, allocations: 4 kB / 0.899 GB, free: 4.957 MB / 0.5573 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.0004508/0.507, allocations: 355.5 kB / 0.8993 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.507, allocations: 11.97 kB / 0.8993 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.5071, allocations: 12.78 kB / 0.8993 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.5072, allocations: 164.4 kB / 0.8995 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.5073, allocations: 30.27 kB / 0.8995 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.5073, allocations: 3.938 kB / 0.8995 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.5075, allocations: 45.69 kB / 0.8996 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5075, allocations: 0 / 0.8996 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.5075, allocations: 0 / 0.8996 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.5075, allocations: 7.984 kB / 0.8996 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.5076, allocations: 11.94 kB / 0.8996 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.5084, allocations: 0.595 MB / 0.9002 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.5084, allocations: 30.61 kB / 0.9002 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.5085, allocations: 4.859 kB / 0.9002 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.5087, allocations: 336.5 kB / 0.9005 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.5087, allocations: 30.56 kB / 0.9005 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5087, allocations: 0 / 0.9005 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.5089, allocations: 37.64 kB / 0.9006 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.5089, allocations: 55.41 kB / 0.9006 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.509, allocations: 102 kB / 0.9007 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.5091, allocations: 29.7 kB / 0.9008 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.5091, allocations: 91.98 kB / 0.9008 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.5091, allocations: 3.906 kB / 0.9008 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.5092, allocations: 17.7 kB / 0.9009 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5093, allocations: 318.8 kB / 0.9012 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.5093, allocations: 4 kB / 0.9012 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.5093, allocations: 13.72 kB / 0.9012 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.5094, allocations: 29.64 kB / 0.9012 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5094, allocations: 0 / 0.9012 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.989e-05/0.5095, allocations: 45.7 kB / 0.9013 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5095, allocations: 7.984 kB / 0.9013 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5095, allocations: 3.938 kB / 0.9013 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5095, allocations: 0 / 0.9013 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.5096, allocations: 4 kB / 0.9013 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5096, allocations: 12 kB / 0.9013 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.5096, allocations: 0 / 0.9013 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5096, allocations: 8.219 kB / 0.9013 GB, free: 2.184 MB / 0.5573 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 7.084e-05/0.5097, allocations: 110.6 kB / 0.9014 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.5097, allocations: 0 / 0.9014 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.5098, allocations: 128.9 kB / 0.9015 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/0.5099, allocations: 184.2 kB / 0.9017 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.605e-05/0.51, allocations: 176.3 kB / 0.9019 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.05e-05/0.5101, allocations: 188.2 kB / 0.902 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.5103, allocations: 401.2 kB / 0.9024 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/0.5103, allocations: 112.9 kB / 0.9025 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.5104, allocations: 104.9 kB / 0.9026 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.15e-05/0.5104, allocations: 180.3 kB / 0.9028 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.5106, allocations: 184.2 kB / 0.903 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.227e-05/0.5106, allocations: 180.3 kB / 0.9031 GB, free: 144 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.353/0.8637, allocations: 180.5 kB / 0.9033 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.864, allocations: 0.8411 MB / 0.9041 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.8641, allocations: 184.9 kB / 0.9043 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.8641, allocations: 187.8 kB / 0.9045 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.8643, allocations: 110.9 kB / 0.9046 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.8643, allocations: 180.7 kB / 0.9048 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.8644, allocations: 107.8 kB / 0.9049 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.8644, allocations: 85.5 kB / 0.905 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.092e-06/0.8644, allocations: 0.8438 kB / 0.905 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005605/0.865, allocations: 59.58 kB / 0.905 GB, free: 136.3 MB / 0.5573 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.000336/0.8653, allocations: 249.7 kB / 0.9053 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.484e-05/0.8654, allocations: 14.44 kB / 0.9053 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8655, allocations: 1.062 kB / 0.9053 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.8655, allocations: 0 / 0.9053 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.8658, allocations: 0.5273 MB / 0.9058 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.8661, allocations: 182.1 kB / 0.906 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.8662, allocations: 0.6751 MB / 0.9066 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.8662, allocations: 7.125 kB / 0.9066 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.8662, allocations: 9.125 kB / 0.9066 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.81e-07/0.8662, allocations: 1.125 kB / 0.9066 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.004012/0.8703, allocations: 1.294 MB / 0.9079 GB, free: 134.6 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)