Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.000954/0.000954, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002269, 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.001069/0.001069, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002426, 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.9603/0.9603, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08046/1.041, allocations: 53.66 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.001266/0.001266, allocations: 240.8 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000976/0.002242, allocations: 467.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.7409/0.7409, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1141/0.8551, allocations: 42.4 MB / 426.5 MB, free: 5.945 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.552e-05, allocations: 2.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005122/0.005147, allocations: 3.513 MB / 431.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000111/0.005258, allocations: 47.8 kB / 431.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.005279, allocations: 0 / 431.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.005347, allocations: 11.88 kB / 431.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.005408, allocations: 7.984 kB / 431.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.006004, allocations: 227 kB / 431.6 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.00609, allocations: 27.86 kB / 431.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.006128, allocations: 4 kB / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.006202, allocations: 27.91 kB / 431.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.006271, allocations: 7.984 kB / 431.7 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.006285, allocations: 4 kB / 431.7 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.006607, allocations: 143.5 kB / 431.8 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.006649, allocations: 7.984 kB / 431.8 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.006669, allocations: 4 kB / 431.8 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.006912, allocations: 115.7 kB / 431.9 MB, free: 468 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.00693, allocations: 4 kB / 431.9 MB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006931, allocations: 0 / 431.9 MB, free: 464 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.006948, allocations: 0 / 431.9 MB, free: 464 kB / 410.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.0004128/0.007361, allocations: 272.4 kB / 432.2 MB, free: 168 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.007399, allocations: 8.031 kB / 432.2 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.007435, allocations: 4.938 kB / 432.2 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.702e-05/0.007532, allocations: 109.7 kB / 432.3 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.197/0.2045, allocations: 55.97 kB / 432.4 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2046, allocations: 384 / 432.4 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.2047, allocations: 77.41 kB / 432.4 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2047, allocations: 2.719 kB / 432.5 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2047, allocations: 2.656 kB / 432.5 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.2048, allocations: 3.484 kB / 432.5 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.2048, allocations: 6.094 kB / 432.5 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.2052, allocations: 195.8 kB / 432.7 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.2053, allocations: 22.81 kB / 432.7 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.2053, allocations: 7.109 kB / 432.7 MB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.283e-05/0.2054, allocations: 40.53 kB / 432.7 MB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2054, allocations: 35.36 kB / 432.8 MB, free: 1.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.2054, allocations: 0.6562 kB / 432.8 MB, free: 1.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.2055, allocations: 33.14 kB / 432.8 MB, free: 1.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.2055, allocations: 52.5 kB / 432.8 MB, free: 1.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2056, allocations: 115.1 kB / 433 MB, free: 17.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.2056, allocations: 27.48 kB / 433 MB, free: 17.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.2057, allocations: 88.91 kB / 433.1 MB, free: 17.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.2057, allocations: 2.984 kB / 433.1 MB, free: 17.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.2057, allocations: 17.88 kB / 433.1 MB, free: 17.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.2058, allocations: 316.3 kB / 433.4 MB, free: 16.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-06/0.2058, allocations: 2.156 kB / 433.4 MB, free: 16.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.2058, allocations: 15.61 kB / 433.4 MB, free: 16.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.2059, allocations: 26.77 kB / 433.4 MB, free: 16.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2059, allocations: 3.469 kB / 433.4 MB, free: 16.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.835e-05/0.206, allocations: 39.61 kB / 433.5 MB, free: 16.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.206, allocations: 5.844 kB / 433.5 MB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.206, allocations: 0 / 433.5 MB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.206, allocations: 1.125 kB / 433.5 MB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.206, allocations: 13.69 kB / 433.5 MB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.206, allocations: 3.656 kB / 433.5 MB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.2061, allocations: 8.781 kB / 433.5 MB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.2061, allocations: 1.031 kB / 433.5 MB, free: 16.64 MB / 426.7 MB 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.738e-05/0.2061, allocations: 112.2 kB / 433.6 MB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.2062, allocations: 3.594 kB / 433.6 MB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.2063, allocations: 119.4 kB / 433.7 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-05/0.2063, allocations: 186.8 kB / 433.9 MB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-05/0.2064, allocations: 182.7 kB / 434.1 MB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.765e-05/0.2064, allocations: 182.9 kB / 434.3 MB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.2066, allocations: 320.1 kB / 434.6 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/0.2066, allocations: 107.1 kB / 434.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.2066, allocations: 105.3 kB / 434.8 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2067, allocations: 106.7 kB / 434.9 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.805e-05/0.2067, allocations: 180.2 kB / 435.1 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002454/0.207, allocations: 183.4 kB / 435.3 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-05/0.207, allocations: 181 kB / 435.4 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.72e-05/0.2071, allocations: 182.7 kB / 435.6 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.2072, allocations: 309 kB / 435.9 MB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.641e-05/0.2072, allocations: 183.9 kB / 436.1 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2074, allocations: 108.8 kB / 436.2 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.2074, allocations: 182.3 kB / 436.4 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.2074, allocations: 105.1 kB / 436.5 MB, free: 13.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.926e-05/0.2075, allocations: 14.8 kB / 436.5 MB, free: 13.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2075, allocations: 0 / 436.5 MB, free: 13.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.2077, allocations: 33.8 kB / 436.5 MB, free: 13.61 MB / 426.7 MB 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.0002793/0.208, allocations: 219.9 kB / 436.7 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.486e-05/0.2081, allocations: 21.19 kB / 436.8 MB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2081, allocations: 1.406 kB / 436.8 MB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.2081, allocations: 0 / 436.8 MB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.2084, allocations: 469 kB / 437.2 MB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.2093, allocations: 193.9 kB / 437.4 MB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.2094, allocations: 54.86 kB / 437.5 MB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.2094, allocations: 8.953 kB / 437.5 MB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.2095, allocations: 59.16 kB / 437.5 MB, free: 12.73 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2095, allocations: 0 / 437.5 MB, free: 12.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004044/0.2135, allocations: 1.376 MB / 438.9 MB, free: 12.71 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4645533924922347]