Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000779/0.000779, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001902, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007009/0.0007009, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008879/0.001589, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.065/1.065, allocations: 177.2 MB / 189.7 MB, free: 5.273 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08852/1.154, allocations: 53.68 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6305/0.6305, allocations: 120.1 MB / 364.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07041/0.7009, allocations: 38.16 MB / 402.4 MB, free: 12.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.741e-05, allocations: 6.25 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3136/0.3137, allocations: 131 MB / 0.5222 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001359/0.3138, allocations: 51.39 kB / 0.5223 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.3138, allocations: 0 / 0.5223 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.104e-05/0.3139, allocations: 7.922 kB / 0.5223 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.3139, allocations: 18.88 kB / 0.5223 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.3145, allocations: 258.4 kB / 0.5225 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.3146, allocations: 39.78 kB / 0.5226 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.3147, allocations: 4 kB / 0.5226 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.3147, allocations: 19.92 kB / 0.5226 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.3148, allocations: 11.97 kB / 0.5226 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.3148, allocations: 0 / 0.5226 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.3151, allocations: 186.2 kB / 0.5228 GB, free: 480 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.3151, allocations: 7.984 kB / 0.5228 GB, free: 472 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.3151, allocations: 8 kB / 0.5228 GB, free: 464 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.3154, allocations: 161.8 kB / 0.523 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.3154, allocations: 0 / 0.523 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3154, allocations: 0 / 0.523 GB, free: 304 kB / 490.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3154, allocations: 0 / 0.523 GB, free: 304 kB / 490.7 MB 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.0003079/0.3157, allocations: 280.4 kB / 0.5232 GB, free: 0 / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3157, allocations: 8.078 kB / 0.5232 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.3158, allocations: 4.938 kB / 0.5232 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.782e-05/0.3158, allocations: 101.8 kB / 0.5233 GB, free: 15.86 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.3159, allocations: 63.84 kB / 0.5234 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.3159, allocations: 4.375 kB / 0.5234 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.787e-05/0.316, allocations: 76.14 kB / 0.5235 GB, free: 15.7 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.316, allocations: 3.938 kB / 0.5235 GB, free: 15.69 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.316, allocations: 4 kB / 0.5235 GB, free: 15.69 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.316, allocations: 3.938 kB / 0.5235 GB, free: 15.68 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.316, allocations: 12.5 kB / 0.5235 GB, free: 15.67 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3164, allocations: 205.5 kB / 0.5237 GB, free: 15.46 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 2.851e-05/0.3164, allocations: 18.52 kB / 0.5237 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-06/0.3164, allocations: 4.859 kB / 0.5237 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.3165, allocations: 38.28 kB / 0.5238 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3165, allocations: 34.5 kB / 0.5238 GB, free: 15.34 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3165, allocations: 0 / 0.5238 GB, free: 15.34 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1): time 8.622e-05/0.3166, allocations: 29.7 kB / 0.5238 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.3166, allocations: 67.33 kB / 0.5239 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.126e-05/0.3167, allocations: 102.7 kB / 0.524 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3167, allocations: 25.7 kB / 0.524 GB, free: 15.09 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.3167, allocations: 93.75 kB / 0.5241 GB, free: 14.99 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/0.3167, allocations: 7.969 kB / 0.5241 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.3167, allocations: 13.84 kB / 0.5241 GB, free: 14.96 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.3168, allocations: 314.8 kB / 0.5244 GB, free: 14.65 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-06/0.3168, allocations: 4 kB / 0.5244 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.3168, allocations: 17.7 kB / 0.5244 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.3168, allocations: 24.55 kB / 0.5245 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3168, allocations: 0 / 0.5245 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.039e-05/0.3169, allocations: 49.56 kB / 0.5245 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3169, allocations: 4 kB / 0.5245 GB, free: 14.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3169, allocations: 0 / 0.5245 GB, free: 14.53 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.3169, allocations: 4.062 kB / 0.5245 GB, free: 14.53 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.39e-05/0.3169, allocations: 8 kB / 0.5245 GB, free: 14.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.3169, allocations: 0 / 0.5245 GB, free: 14.52 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.317, allocations: 3.984 kB / 0.5245 GB, free: 14.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.317, allocations: 7.938 kB / 0.5245 GB, free: 14.51 MB / 0.4949 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 4.537e-05/0.317, allocations: 108.7 kB / 0.5246 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.317, allocations: 7.938 kB / 0.5246 GB, free: 14.38 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.447e-05/0.3171, allocations: 124.9 kB / 0.5248 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-05/0.3172, allocations: 184.2 kB / 0.5249 GB, free: 14.07 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.326e-05/0.3172, allocations: 180.3 kB / 0.5251 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.346e-05/0.3173, allocations: 184.2 kB / 0.5253 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3174, allocations: 321.4 kB / 0.5256 GB, free: 13.36 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.3174, allocations: 102.2 kB / 0.5257 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.3174, allocations: 106.1 kB / 0.5258 GB, free: 13.14 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.3174, allocations: 109 kB / 0.5259 GB, free: 13.03 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-05/0.3175, allocations: 180.2 kB / 0.5261 GB, free: 12.84 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.3175, allocations: 184.2 kB / 0.5262 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-05/0.3176, allocations: 180.5 kB / 0.5264 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.353e-05/0.3176, allocations: 184.2 kB / 0.5266 GB, free: 12.29 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.3179, allocations: 295.8 kB / 0.5269 GB, free: 11.97 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.318, allocations: 200.2 kB / 0.5271 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.3181, allocations: 109.4 kB / 0.5272 GB, free: 11.66 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.3181, allocations: 180.2 kB / 0.5273 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.3182, allocations: 105 kB / 0.5274 GB, free: 11.36 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 1.984e-05/0.3182, allocations: 13.91 kB / 0.5275 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.3182, allocations: 0 / 0.5275 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002081/0.3184, allocations: 59.75 kB / 0.5275 GB, free: 11.29 MB / 0.4949 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.0002814/0.3187, allocations: 236.7 kB / 0.5277 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 6.159e-05/0.3187, allocations: 16.8 kB / 0.5277 GB, free: 11.03 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3187, allocations: 0 / 0.5277 GB, free: 11.03 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-06/0.3188, allocations: 3.938 kB / 0.5278 GB, free: 11.03 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.319, allocations: 0.5126 MB / 0.5283 GB, free: 10.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.3197, allocations: 184.4 kB / 0.5284 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.3198, allocations: 55.94 kB / 0.5285 GB, free: 10.23 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.3198, allocations: 5.062 kB / 0.5285 GB, free: 10.22 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.3199, allocations: 63.34 kB / 0.5285 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of SimCode: time 5.41e-07/0.3199, allocations: 0 / 0.5285 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of Templates: time 0.002955/0.3228, allocations: 1.468 MB / 0.53 GB, free: 8.75 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5891319010406733]