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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 110.4 kB / 16.41 MB, free: 6.504 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.001207/0.001207, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 292.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4078, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1665/0.5743, allocations: 135.8 MB / 0.8997 GB, free: 11.58 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0002/0.5745, allocations: 51.73 kB / 0.8997 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.5745, allocations: 4 kB / 0.8997 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.5746, allocations: 11.92 kB / 0.8997 GB, free: 11.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.055e-05/0.5747, allocations: 7.922 kB / 0.8997 GB, free: 11.51 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.5756, allocations: 251 kB / 0.9 GB, free: 11.26 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.357e-05/0.5757, allocations: 35.84 kB / 0.9 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.5757, allocations: 0 / 0.9 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.5758, allocations: 19.92 kB / 0.9 GB, free: 11.21 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.5759, allocations: 11.98 kB / 0.9 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.5759, allocations: 0 / 0.9 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.5764, allocations: 247.4 kB / 0.9003 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.5764, allocations: 7.969 kB / 0.9003 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.5764, allocations: 7.938 kB / 0.9003 GB, free: 10.94 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.5768, allocations: 189.3 kB / 0.9005 GB, free: 10.76 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.5768, allocations: 4 kB / 0.9005 GB, free: 10.76 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5768, allocations: 7.938 kB / 0.9005 GB, free: 10.75 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5768, allocations: 0 / 0.9005 GB, free: 10.75 MB / 0.67 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.0005049/0.5773, allocations: 359.2 kB / 0.9008 GB, free: 10.35 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5774, allocations: 8.031 kB / 0.9008 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.5774, allocations: 4.922 kB / 0.9008 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.5775, allocations: 164.4 kB / 0.901 GB, free: 10.14 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.5776, allocations: 30.27 kB / 0.901 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.5776, allocations: 3.938 kB / 0.901 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.5777, allocations: 45.69 kB / 0.9011 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.5777, allocations: 0 / 0.9011 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5778, allocations: 0 / 0.9011 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.5778, allocations: 4 kB / 0.9011 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.711e-05/0.5778, allocations: 23.92 kB / 0.9011 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/0.5786, allocations: 0.595 MB / 0.9017 GB, free: 9.305 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.9e-05/0.5787, allocations: 18.58 kB / 0.9017 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.5787, allocations: 8.859 kB / 0.9017 GB, free: 9.266 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.5789, allocations: 340.5 kB / 0.902 GB, free: 8.859 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.579, allocations: 30.56 kB / 0.9021 GB, free: 8.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.579, allocations: 0 / 0.9021 GB, free: 8.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001511/0.5791, allocations: 45.58 kB / 0.9021 GB, free: 8.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.5792, allocations: 51.53 kB / 0.9022 GB, free: 8.707 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.5792, allocations: 105.8 kB / 0.9023 GB, free: 8.594 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.5793, allocations: 29.7 kB / 0.9023 GB, free: 8.559 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.5793, allocations: 88.09 kB / 0.9024 GB, free: 8.469 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.5793, allocations: 3.938 kB / 0.9024 GB, free: 8.465 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.5794, allocations: 13.72 kB / 0.9024 GB, free: 8.445 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5795, allocations: 322.7 kB / 0.9027 GB, free: 8.121 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.5795, allocations: 8 kB / 0.9027 GB, free: 8.113 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.5795, allocations: 17.72 kB / 0.9027 GB, free: 8.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.5796, allocations: 25.66 kB / 0.9027 GB, free: 8.059 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5796, allocations: 0 / 0.9027 GB, free: 8.059 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.847e-05/0.5797, allocations: 49.62 kB / 0.9028 GB, free: 8.004 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5797, allocations: 4 kB / 0.9028 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5797, allocations: 0 / 0.9028 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5797, allocations: 4 kB / 0.9028 GB, free: 7.996 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.007e-05/0.5797, allocations: 12.05 kB / 0.9028 GB, free: 7.984 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5797, allocations: 0 / 0.9028 GB, free: 7.984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.5798, allocations: 3.953 kB / 0.9028 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.5798, allocations: 7.938 kB / 0.9028 GB, free: 7.973 MB / 0.67 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.925e-05/0.5798, allocations: 108.2 kB / 0.9029 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.5799, allocations: 4 kB / 0.9029 GB, free: 7.855 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.58, allocations: 120.9 kB / 0.903 GB, free: 7.727 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.375e-05/0.5801, allocations: 184.3 kB / 0.9032 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.371e-05/0.5802, allocations: 176.3 kB / 0.9034 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.952e-05/0.5802, allocations: 180.2 kB / 0.9036 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.5805, allocations: 409.2 kB / 0.9039 GB, free: 6.719 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-05/0.5806, allocations: 104.9 kB / 0.904 GB, free: 6.609 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.5806, allocations: 109 kB / 0.9042 GB, free: 6.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.145e-05/0.5807, allocations: 180.3 kB / 0.9043 GB, free: 6.312 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.5808, allocations: 184.2 kB / 0.9045 GB, free: 6.125 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.719e-05/0.5808, allocations: 176.3 kB / 0.9047 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.144e-05/0.5809, allocations: 184.2 kB / 0.9048 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.5811, allocations: 308 kB / 0.9051 GB, free: 5.434 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.5812, allocations: 190 kB / 0.9053 GB, free: 5.223 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.5813, allocations: 180.3 kB / 0.9055 GB, free: 5.039 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5814, allocations: 116.9 kB / 0.9056 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.5815, allocations: 176.3 kB / 0.9058 GB, free: 4.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.5816, allocations: 105 kB / 0.9059 GB, free: 4.629 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.575e-05/0.5816, allocations: 95.2 kB / 0.906 GB, free: 4.535 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5816, allocations: 3.938 kB / 0.906 GB, free: 4.531 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003005/0.5819, allocations: 51.75 kB / 0.906 GB, free: 4.48 MB / 0.67 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.0003378/0.5823, allocations: 266.1 kB / 0.9063 GB, free: 4.207 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.5823, allocations: 4 kB / 0.9063 GB, free: 4.203 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5823, allocations: 0 / 0.9063 GB, free: 4.203 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.5823, allocations: 0 / 0.9063 GB, free: 4.203 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.5828, allocations: 471.7 kB / 0.9067 GB, free: 3.738 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.5831, allocations: 185.7 kB / 0.9069 GB, free: 3.527 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.5834, allocations: 0.6768 MB / 0.9076 GB, free: 2.824 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.5834, allocations: 4 kB / 0.9076 GB, free: 2.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.5834, allocations: 7.438 kB / 0.9076 GB, free: 2.812 MB / 0.67 GB Notification: Performance of SimCode: time 3.01e-07/0.5834, allocations: 4 kB / 0.9076 GB, free: 2.809 MB / 0.67 GB Notification: Performance of Templates: time 0.004027/0.5875, allocations: 1.296 MB / 0.9088 GB, free: 1.516 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)