Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.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/IBPSA 4.0.0-master/package.mo", uses=false) 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.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(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") translateModel(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 115 kB / 17.09 MB, free: 5.988 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.001266/0.001266, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.245/1.245, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6724/0.6724, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 60.97 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1136, allocations: 76.18 MB / 0.6327 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.Stratified): time 0.04975/0.1634, allocations: 56.19 MB / 0.6876 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0207/0.1841, allocations: 17.48 MB / 0.7047 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.1862, allocations: 75.56 kB / 0.7047 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.1885, allocations: 0.9626 MB / 0.7057 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.1939, allocations: 2.458 MB / 0.7081 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.1977, allocations: 1.794 MB / 0.7098 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0245/0.2222, allocations: 29.37 MB / 0.7385 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.525/0.7472, allocations: 14.59 MB / 0.7528 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01624/0.7635, allocations: 9.921 MB / 0.7625 GB, free: 9.281 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01305/0.7765, allocations: 8.806 MB / 0.7711 GB, free: 7.914 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002911/0.7795, allocations: 1.299 MB / 0.7723 GB, free: 7.914 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007257/0.7867, allocations: 2.487 MB / 0.7748 GB, free: 7.914 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.003418/0.7902, allocations: 3.238 MB / 0.7779 GB, free: 7.531 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.8006, allocations: 6.519 MB / 0.7843 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.8155, allocations: 18.37 MB / 0.8022 GB, free: 1.598 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8155, allocations: 1.312 kB / 0.8022 GB, free: 1.598 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8156, allocations: 3.406 kB / 0.8022 GB, free: 1.598 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0004237/0.816, allocations: 0 / 0.8022 GB, free: 1.598 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.02279/0.8388, allocations: 11.71 MB / 0.8137 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.8388, allocations: 11.17 kB / 0.8137 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/0.8426, allocations: 1.18 MB / 0.8148 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01525/0.8578, allocations: 9.308 MB / 0.8239 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.8582, allocations: 0.6171 MB / 0.8245 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/0.86, allocations: 0.8178 MB / 0.8253 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/0.8823, allocations: 12.53 MB / 0.8376 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/0.8825, allocations: 25.66 kB / 0.8376 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.8836, allocations: 357.2 kB / 0.8379 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/0.8838, allocations: 247.1 kB / 0.8382 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.9018, allocations: 10.42 MB / 0.8483 GB, free: 13.12 MB / 0.6232 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.06926/0.9711, allocations: 48.92 MB / 0.8961 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0095/0.9807, allocations: 6.264 MB / 0.9022 GB, free: 4.113 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007388/0.9881, allocations: 4.92 MB / 0.907 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.9894, allocations: 0.8231 MB / 0.9078 GB, free: 14.24 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006149/0.9956, allocations: 3.431 MB / 0.9112 GB, free: 10.78 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003202/0.9988, allocations: 470.1 kB / 0.9116 GB, free: 10.32 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=449): time 1.129e-05/0.9988, allocations: 0 / 0.9116 GB, free: 10.32 MB / 0.6857 GB Notification: Performance of matching and sorting (n=449): time 0.01699/1.016, allocations: 8.904 MB / 0.9203 GB, free: 1.383 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/1.016, allocations: 158.2 kB / 0.9205 GB, free: 1.203 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/1.03, allocations: 7.717 MB / 0.928 GB, free: 9.512 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.031, allocations: 125 kB / 0.9281 GB, free: 9.387 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.004785/1.036, allocations: 4.32 MB / 0.9323 GB, free: 5.047 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.002293/1.039, allocations: 1.552 MB / 0.9339 GB, free: 3.508 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003039/1.042, allocations: 1.132 MB / 0.935 GB, free: 2.363 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/1.042, allocations: 305.1 kB / 0.9353 GB, free: 2.062 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004968/1.047, allocations: 3.046 MB / 0.9382 GB, free: 15 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006146/1.053, allocations: 4.903 MB / 0.943 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.064, allocations: 8.607 MB / 0.9514 GB, free: 80 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-05/1.065, allocations: 20 kB / 0.9514 GB, free: 60 kB / 0.7169 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01696/1.082, allocations: 8.903 MB / 0.9601 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.082, allocations: 91.39 kB / 0.9602 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-05/1.082, allocations: 60 kB / 0.9603 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.765e-05/1.082, allocations: 88 kB / 0.9604 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/1.087, allocations: 1.368 MB / 0.9617 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001776/1.088, allocations: 126.9 kB / 0.9618 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00612/1.094, allocations: 375.2 kB / 0.9622 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000853/1.095, allocations: 280 kB / 0.9624 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01019/1.105, allocations: 6.167 MB / 0.9685 GB, free: 15.03 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006052/1.111, allocations: 4.898 MB / 0.9733 GB, free: 9.32 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01139/1.122, allocations: 8.607 MB / 0.9817 GB, free: 112 kB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.592e-05/1.122, allocations: 24.56 kB / 0.9817 GB, free: 88 kB / 0.7482 GB Notification: Performance of matching and sorting (n=754) (initialization_lambda0): time 0.01619/1.138, allocations: 8.889 MB / 0.9904 GB, free: 7.512 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 9.627e-05/1.139, allocations: 97.73 kB / 0.9905 GB, free: 7.406 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.177e-05/1.139, allocations: 56.88 kB / 0.9905 GB, free: 7.352 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.082e-05/1.139, allocations: 88 kB / 0.9906 GB, free: 7.266 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005244/1.144, allocations: 1.365 MB / 0.9919 GB, free: 5.992 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001383/1.144, allocations: 129.7 kB / 0.9921 GB, free: 5.891 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006131/1.15, allocations: 367.3 kB / 0.9924 GB, free: 5.531 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008323/1.151, allocations: 280 kB / 0.9927 GB, free: 5.258 MB / 0.7638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 (P.nextEventScaled,P.nextEvent,$PRE.P.nextEvent,P.last,P.b,P.a,TWat.nextEventScaled,TWat.nextEvent,$PRE.TWat.nextEvent,TWat.last,TWat.b,TWat.a,$whenCondition2,$whenCondition1,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * 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 0.001713/1.153, allocations: 0.628 MB / 0.9933 GB, free: 4.707 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002359/1.155, allocations: 0.7218 MB / 0.994 GB, free: 3.977 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.168, allocations: 7.149 MB / 1.001 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008552/1.176, allocations: 5.848 MB / 1.007 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.176, allocations: 3.938 kB / 1.007 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00412/1.181, allocations: 1.617 MB / 1.008 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/1.183, allocations: 91.98 kB / 1.008 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005097/1.188, allocations: 291.6 kB / 1.009 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005774/1.188, allocations: 251.1 kB / 1.009 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01256/1.201, allocations: 7.069 MB / 1.016 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01653/1.217, allocations: 11.38 MB / 1.027 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00413/1.222, allocations: 3.209 MB / 1.03 GB, free: 14.96 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.0096/1.231, allocations: 5.417 MB / 1.035 GB, free: 9.57 MB / 0.8107 GB Notification: Performance of Backend: time 3.71e-07/1.231, allocations: 0 / 1.035 GB, free: 9.57 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.01962/1.251, allocations: 9.568 MB / 1.045 GB, free: 416 kB / 0.8107 GB Notification: Performance of SimCode: time 0.3086/1.559, allocations: 21.08 MB / 1.065 GB, free: 308.3 MB / 0.8107 GB Notification: Performance of Templates: time 0.2126/1.772, allocations: 184.7 MB / 1.246 GB, free: 146.7 MB / 0.8107 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe 2>&1)