Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 119 kB / 16.42 MB, free: 6.473 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.0009901/0.0009901, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.31/1.31, allocations: 222.9 MB / 241.1 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.002073/0.002073, allocations: 288.6 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 0.9242/0.9242, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3776, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.1485/0.5261, allocations: 151.9 MB / 0.9153 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4354/0.9616, allocations: 44.17 MB / 0.9585 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006429/0.968, allocations: 208 kB / 0.9587 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006048/0.9741, allocations: 2.543 MB / 0.9611 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.9884, allocations: 6.144 MB / 0.9671 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009466/0.9978, allocations: 4.849 MB / 0.9719 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.03337/1.031, allocations: 43.96 MB / 1.015 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02504/1.056, allocations: 23.09 MB / 1.037 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03051/1.087, allocations: 15.95 MB / 1.053 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02043/1.107, allocations: 13.17 MB / 1.066 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.006076/1.113, allocations: 2.34 MB / 1.068 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01586/1.129, allocations: 4.769 MB / 1.073 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.008482/1.138, allocations: 5.217 MB / 1.078 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.02219/1.16, allocations: 10.8 MB / 1.088 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.04052/1.201, allocations: 31.9 MB / 1.12 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/1.201, allocations: 3.984 kB / 1.12 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.814e-06/1.201, allocations: 0 / 1.12 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0009197/1.202, allocations: 0 / 1.12 GB, free: 7.223 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.05283/1.254, allocations: 19.54 MB / 1.139 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.254, allocations: 8.031 kB / 1.139 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008857/1.263, allocations: 1.933 MB / 1.141 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03338/1.297, allocations: 15.32 MB / 1.155 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008055/1.298, allocations: 0.9735 MB / 1.156 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00384/1.301, allocations: 1.29 MB / 1.158 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03758/1.339, allocations: 19.28 MB / 1.177 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002656/1.339, allocations: 55.48 kB / 1.177 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00153/1.341, allocations: 0.5264 MB / 1.177 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002812/1.341, allocations: 355.9 kB / 1.177 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02996/1.371, allocations: 16.61 MB / 1.194 GB, free: 10.86 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1165/1.488, allocations: 86.69 MB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01724/1.505, allocations: 12.24 MB / 1.29 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008319/1.513, allocations: 6.227 MB / 1.296 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05158/1.565, allocations: 28.37 MB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6165/2.181, allocations: 121.8 kB / 1.324 GB, free: 437.1 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005409/2.187, allocations: 0.7404 MB / 1.325 GB, free: 437.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=651): time 1.961e-05/2.187, allocations: 0.5312 kB / 1.325 GB, free: 437.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=651): time 0.03567/2.222, allocations: 17.88 MB / 1.342 GB, free: 431.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/2.223, allocations: 119.1 kB / 1.342 GB, free: 431.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/2.239, allocations: 13.36 MB / 1.356 GB, free: 427 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/2.24, allocations: 185.6 kB / 1.356 GB, free: 426.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.004237/2.245, allocations: 7.234 MB / 1.363 GB, free: 421.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002277/2.247, allocations: 2.298 MB / 1.365 GB, free: 420 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002847/2.25, allocations: 2.389 MB / 1.367 GB, free: 418.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/2.25, allocations: 301.1 kB / 1.368 GB, free: 418.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007194/2.257, allocations: 5.923 MB / 1.373 GB, free: 416.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008385/2.265, allocations: 9.899 MB / 1.383 GB, free: 407 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/2.28, allocations: 15.6 MB / 1.398 GB, free: 389.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.298e-05/2.281, allocations: 36 kB / 1.398 GB, free: 389.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.02567/2.306, allocations: 19.01 MB / 1.417 GB, free: 370.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/2.306, allocations: 63.98 kB / 1.417 GB, free: 370.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/2.306, allocations: 124 kB / 1.417 GB, free: 370.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09004/2.396, allocations: 11.98 MB / 1.429 GB, free: 358.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009115/2.406, allocations: 2.441 MB / 1.431 GB, free: 356.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/2.42, allocations: 20.94 MB / 1.452 GB, free: 334.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/2.43, allocations: 0.7095 MB / 1.452 GB, free: 333.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/2.432, allocations: 0.5546 MB / 1.453 GB, free: 333.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01486/2.447, allocations: 11.11 MB / 1.464 GB, free: 322 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009713/2.457, allocations: 9.885 MB / 1.473 GB, free: 310.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01697/2.474, allocations: 15.59 MB / 1.489 GB, free: 293 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.926e-05/2.474, allocations: 40 kB / 1.489 GB, free: 292.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=1503) (initialization_lambda0): time 0.02851/2.502, allocations: 18.99 MB / 1.507 GB, free: 273.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/2.502, allocations: 60 kB / 1.507 GB, free: 273.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/2.503, allocations: 128.8 kB / 1.507 GB, free: 273.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08981/2.592, allocations: 11.97 MB / 1.519 GB, free: 261.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008713/2.601, allocations: 2.394 MB / 1.521 GB, free: 259.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/2.617, allocations: 19.15 MB / 1.54 GB, free: 239.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/2.628, allocations: 0.6927 MB / 1.541 GB, free: 238.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001895/2.63, allocations: 0.5468 MB / 1.541 GB, free: 238.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 573 * 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 (1269): * Single equations (assignments): 1251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(2,16), (2,16), (2,16), (2,16), (2,16), (2,16), (2,17), (2,17), (2,17), (2,17), (2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002752/2.633, allocations: 0.9103 MB / 1.542 GB, free: 237.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003246/2.636, allocations: 1.173 MB / 1.543 GB, free: 236.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/2.653, allocations: 11.64 MB / 1.555 GB, free: 224.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0118/2.665, allocations: 9.663 MB / 1.564 GB, free: 214.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/2.665, allocations: 0 / 1.564 GB, free: 214.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006713/2.671, allocations: 2.583 MB / 1.567 GB, free: 211.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003273/2.675, allocations: 140 kB / 1.567 GB, free: 211.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008507/2.683, allocations: 387.3 kB / 1.567 GB, free: 211.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/2.684, allocations: 392.6 kB / 1.567 GB, free: 211 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02119/2.706, allocations: 12.15 MB / 1.579 GB, free: 198.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01913/2.725, allocations: 15.75 MB / 1.595 GB, free: 183 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004431/2.729, allocations: 4.543 MB / 1.599 GB, free: 178.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0145/2.744, allocations: 9.174 MB / 1.608 GB, free: 169.3 MB / 1.014 GB Notification: Performance of Backend: time 8.82e-07/2.744, allocations: 0 / 1.608 GB, free: 169.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.03777/2.782, allocations: 19.93 MB / 1.628 GB, free: 149.6 MB / 1.014 GB Notification: Performance of SimCode: time 0.05437/2.836, allocations: 34.94 MB / 1.662 GB, free: 114.9 MB / 1.014 GB Notification: Performance of Templates: time 0.996/3.832, allocations: 312.6 MB / 1.967 GB, free: 233.9 MB / 1.014 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)