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.001375/0.001375, allocations: 100.6 kB / 16.4 MB, free: 6.461 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.001592/0.001592, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.279/1.279, 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.002164/0.002164, allocations: 295 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9055/0.9055, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 95.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.39, allocations: 86.98 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.138/0.528, allocations: 135.4 MB / 0.8993 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.5282, allocations: 55.86 kB / 0.8993 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.5283, allocations: 0 / 0.8993 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.5284, allocations: 3.938 kB / 0.8993 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.5285, allocations: 11.97 kB / 0.8993 GB, free: 11.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.5294, allocations: 246.9 kB / 0.8996 GB, free: 11.65 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.858e-05/0.5295, allocations: 27.92 kB / 0.8996 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.5295, allocations: 3.984 kB / 0.8996 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.5296, allocations: 27.84 kB / 0.8996 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.5297, allocations: 8 kB / 0.8996 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.5297, allocations: 4 kB / 0.8996 GB, free: 11.58 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.5302, allocations: 247.4 kB / 0.8999 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.5302, allocations: 11.98 kB / 0.8999 GB, free: 11.33 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.5303, allocations: 11.92 kB / 0.8999 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.5307, allocations: 179.5 kB / 0.9001 GB, free: 11.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5307, allocations: 3.984 kB / 0.9001 GB, free: 11.14 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.487e-06/0.5307, allocations: 0 / 0.9001 GB, free: 11.14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5307, allocations: 3.938 kB / 0.9001 GB, free: 11.14 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.000429/0.5311, allocations: 358 kB / 0.9004 GB, free: 10.74 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5312, allocations: 8.031 kB / 0.9004 GB, free: 10.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.5312, allocations: 8.844 kB / 0.9004 GB, free: 10.73 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5314, allocations: 172.4 kB / 0.9006 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.5314, allocations: 26.27 kB / 0.9006 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.5314, allocations: 7.938 kB / 0.9006 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5316, allocations: 41.69 kB / 0.9007 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5316, allocations: 0 / 0.9007 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5316, allocations: 0 / 0.9007 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.5316, allocations: 0 / 0.9007 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.5317, allocations: 19.98 kB / 0.9007 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.5325, allocations: 0.5989 MB / 0.9013 GB, free: 9.691 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.5325, allocations: 18.58 kB / 0.9013 GB, free: 9.664 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.5325, allocations: 4.859 kB / 0.9013 GB, free: 9.656 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.5327, allocations: 332.5 kB / 0.9016 GB, free: 9.258 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5328, allocations: 38.56 kB / 0.9017 GB, free: 9.211 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.5328, allocations: 4 kB / 0.9017 GB, free: 9.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.5329, allocations: 37.62 kB / 0.9017 GB, free: 9.164 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.533, allocations: 51.41 kB / 0.9018 GB, free: 9.102 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.533, allocations: 101.9 kB / 0.9018 GB, free: 8.992 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.5331, allocations: 25.7 kB / 0.9019 GB, free: 8.961 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.5331, allocations: 91.97 kB / 0.902 GB, free: 8.867 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.5331, allocations: 7.906 kB / 0.902 GB, free: 8.859 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.5332, allocations: 17.78 kB / 0.902 GB, free: 8.836 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.5333, allocations: 322.8 kB / 0.9023 GB, free: 8.512 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.5333, allocations: 7.922 kB / 0.9023 GB, free: 8.504 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.5333, allocations: 17.72 kB / 0.9023 GB, free: 8.48 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.943e-05/0.5334, allocations: 21.66 kB / 0.9023 GB, free: 8.453 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5334, allocations: 0 / 0.9023 GB, free: 8.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.741e-05/0.5335, allocations: 49.69 kB / 0.9024 GB, free: 8.398 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5335, allocations: 8 kB / 0.9024 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5335, allocations: 0 / 0.9024 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5335, allocations: 0 / 0.9024 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.5336, allocations: 7.938 kB / 0.9024 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5336, allocations: 3.984 kB / 0.9024 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.5336, allocations: 4 kB / 0.9024 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.5336, allocations: 3.938 kB / 0.9024 GB, free: 8.371 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 6.89e-05/0.5337, allocations: 116.2 kB / 0.9025 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.5337, allocations: 4.062 kB / 0.9025 GB, free: 8.246 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.5338, allocations: 120.9 kB / 0.9026 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/0.5339, allocations: 180.2 kB / 0.9028 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.737e-05/0.534, allocations: 180.3 kB / 0.903 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-05/0.534, allocations: 184.2 kB / 0.9032 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.5342, allocations: 405.2 kB / 0.9035 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-05/0.5343, allocations: 105.3 kB / 0.9036 GB, free: 7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.5343, allocations: 112.9 kB / 0.9038 GB, free: 6.883 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.498e-05/0.5344, allocations: 180.2 kB / 0.9039 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.5344, allocations: 184.2 kB / 0.9041 GB, free: 6.512 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-05/0.5345, allocations: 176.3 kB / 0.9043 GB, free: 6.332 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.546e-05/0.5345, allocations: 184.3 kB / 0.9044 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.5347, allocations: 315.9 kB / 0.9047 GB, free: 5.812 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.5347, allocations: 182 kB / 0.9049 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.5348, allocations: 184.3 kB / 0.9051 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.5349, allocations: 109 kB / 0.9052 GB, free: 5.309 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.535, allocations: 184.2 kB / 0.9054 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.535, allocations: 105 kB / 0.9055 GB, free: 5.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.5351, allocations: 83.22 kB / 0.9056 GB, free: 4.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5351, allocations: 0 / 0.9056 GB, free: 4.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003125/0.5354, allocations: 59.92 kB / 0.9056 GB, free: 4.871 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.000297/0.5357, allocations: 258.3 kB / 0.9059 GB, free: 4.605 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 6.571e-05/0.5358, allocations: 15.94 kB / 0.9059 GB, free: 4.59 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5358, allocations: 0 / 0.9059 GB, free: 4.59 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.5358, allocations: 4.125 kB / 0.9059 GB, free: 4.586 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.5362, allocations: 462 kB / 0.9063 GB, free: 4.133 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.5364, allocations: 211.5 kB / 0.9065 GB, free: 3.891 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.5366, allocations: 0.6768 MB / 0.9072 GB, free: 3.188 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.5367, allocations: 15.44 kB / 0.9072 GB, free: 3.172 MB / 0.67 GB Notification: Performance of SimCode: time 2e-07/0.5367, allocations: 0 / 0.9072 GB, free: 3.172 MB / 0.67 GB Notification: Performance of Templates: time 0.00254/0.5392, allocations: 1.23 MB / 0.9084 GB, free: 1.945 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)