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.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.0007577/0.0007577, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009685/0.001726, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007196/0.0007196, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009165/0.001636, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9802/0.9802, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08503/1.065, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001328/0.001328, allocations: 238.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.002383, allocations: 471.5 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6724/0.6724, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06947/0.7418, allocations: 42.4 MB / 426.5 MB, free: 5.941 MB / 410.7 MB " [Timeout remaining time 179] 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.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(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 427.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067e-05/1.271e-05, allocations: 2.312 kB / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3237/0.3237, allocations: 131 MB / 0.5457 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001785/0.3239, allocations: 63.67 kB / 0.5458 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.3239, allocations: 0 / 0.5458 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.114e-05/0.324, allocations: 0 / 0.5458 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.3241, allocations: 15.91 kB / 0.5458 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.325, allocations: 254.5 kB / 0.546 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3251, allocations: 43.78 kB / 0.5461 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.3251, allocations: 0 / 0.5461 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.3252, allocations: 23.98 kB / 0.5461 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.3253, allocations: 11.97 kB / 0.5461 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3253, allocations: 3.938 kB / 0.5461 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.3257, allocations: 182.5 kB / 0.5463 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.3257, allocations: 8 kB / 0.5463 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.3257, allocations: 4 kB / 0.5463 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.3261, allocations: 161.7 kB / 0.5465 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.857e-05/0.3261, allocations: 0 / 0.5465 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3261, allocations: 0 / 0.5465 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.493e-05/0.3261, allocations: 0 / 0.5465 GB, free: 12.84 MB / 0.5261 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.0004433/0.3266, allocations: 285 kB / 0.5467 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3266, allocations: 8.75 kB / 0.5467 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.3266, allocations: 0.9375 kB / 0.5467 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.524e-05/0.3267, allocations: 112.7 kB / 0.5468 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.3268, allocations: 59.91 kB / 0.5469 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.3268, allocations: 4.375 kB / 0.5469 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3269, allocations: 75.48 kB / 0.547 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.327, allocations: 3.938 kB / 0.547 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.327, allocations: 0 / 0.547 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.327, allocations: 5.125 kB / 0.547 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.764e-05/0.327, allocations: 7.984 kB / 0.547 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.3275, allocations: 202.6 kB / 0.5472 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.789e-05/0.3275, allocations: 26.52 kB / 0.5472 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.3275, allocations: 8.859 kB / 0.5472 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.3276, allocations: 31.67 kB / 0.5473 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3276, allocations: 38.48 kB / 0.5473 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3276, allocations: 0 / 0.5473 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.3277, allocations: 34.34 kB / 0.5473 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003098/0.3281, allocations: 51.41 kB / 0.5474 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.3281, allocations: 110.7 kB / 0.5475 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3281, allocations: 25.7 kB / 0.5475 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.3282, allocations: 90.27 kB / 0.5476 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.3282, allocations: 12.06 kB / 0.5476 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.3282, allocations: 21.7 kB / 0.5476 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.3283, allocations: 314.8 kB / 0.5479 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-06/0.3283, allocations: 0 / 0.5479 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.3283, allocations: 14.23 kB / 0.5479 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.3284, allocations: 24.55 kB / 0.548 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3284, allocations: 0 / 0.548 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.009e-05/0.3284, allocations: 45.56 kB / 0.548 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3284, allocations: 8 kB / 0.548 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3284, allocations: 4.062 kB / 0.548 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.3285, allocations: 0 / 0.548 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.3285, allocations: 7.984 kB / 0.548 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3285, allocations: 7.938 kB / 0.548 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.3285, allocations: 0 / 0.548 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3285, allocations: 4 kB / 0.548 GB, free: 11.05 MB / 0.5261 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 5.651e-05/0.3286, allocations: 112.7 kB / 0.5481 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.3286, allocations: 6 kB / 0.5481 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.681e-05/0.3287, allocations: 124.9 kB / 0.5483 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/0.3288, allocations: 184.2 kB / 0.5484 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-05/0.3288, allocations: 180.3 kB / 0.5486 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.753e-05/0.3289, allocations: 180.3 kB / 0.5488 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.329, allocations: 321.4 kB / 0.5491 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/0.3291, allocations: 102.4 kB / 0.5492 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.3291, allocations: 108.9 kB / 0.5493 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.3291, allocations: 105 kB / 0.5494 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.017e-05/0.3292, allocations: 180.2 kB / 0.5496 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.3293, allocations: 184.4 kB / 0.5497 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6e-05/0.3293, allocations: 184.3 kB / 0.5499 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.409e-05/0.3294, allocations: 180.2 kB / 0.5501 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.3295, allocations: 307.8 kB / 0.5504 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.3295, allocations: 180.2 kB / 0.5506 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3297, allocations: 113.5 kB / 0.5507 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.3297, allocations: 184.2 kB / 0.5508 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.3298, allocations: 113 kB / 0.5509 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.895e-05/0.3298, allocations: 9.547 kB / 0.551 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 0.551 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002799/0.3301, allocations: 59.67 kB / 0.551 GB, free: 7.836 MB / 0.5261 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.0003047/0.3304, allocations: 239.4 kB / 0.5512 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.36e-05/0.3304, allocations: 14.06 kB / 0.5513 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3304, allocations: 0 / 0.5513 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.3304, allocations: 4 kB / 0.5513 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3307, allocations: 469.4 kB / 0.5517 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.3317, allocations: 191.8 kB / 0.5519 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.37e-05/0.3317, allocations: 59.34 kB / 0.5519 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.3318, allocations: 4 kB / 0.5519 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.3318, allocations: 59.36 kB / 0.552 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of SimCode: time 7.82e-07/0.3318, allocations: 0 / 0.552 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of Templates: time 0.003574/0.3354, allocations: 1.457 MB / 0.5534 GB, free: 5.391 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.487820073030889]