Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 115.8 kB / 17.09 MB, free: 6.016 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.001116/0.001116, allocations: 193.6 kB / 18.02 MB, free: 5.094 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.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 122.9 MB / 414.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.94 kB / 0.5691 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 77.94 MB / 0.6452 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03439/0.1683, allocations: 37.74 MB / 0.6821 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.1814, allocations: 9.545 MB / 0.6914 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.1831, allocations: 43.75 kB / 0.6914 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.1846, allocations: 0.5936 MB / 0.692 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.1884, allocations: 1.663 MB / 0.6936 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.1914, allocations: 1.246 MB / 0.6948 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008337/0.1997, allocations: 8.126 MB / 0.7028 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004974/0.2047, allocations: 3.882 MB / 0.7066 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005086/0.2098, allocations: 2.871 MB / 0.7094 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/0.2135, allocations: 2.49 MB / 0.7118 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009564/0.2144, allocations: 360 kB / 0.7121 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.2177, allocations: 1.201 MB / 0.7133 GB, free: 3.039 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.2189, allocations: 0.8957 MB / 0.7142 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.2218, allocations: 1.851 MB / 0.716 GB, free: 288 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005562/0.2274, allocations: 5.223 MB / 0.7211 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2274, allocations: 0 / 0.7211 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2274, allocations: 4 kB / 0.7211 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.386e-05/0.2275, allocations: 4 kB / 0.7211 GB, free: 11.04 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.005786/0.2332, allocations: 3.627 MB / 0.7247 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2333, allocations: 12.62 kB / 0.7247 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.2342, allocations: 356.9 kB / 0.725 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/0.2385, allocations: 2.668 MB / 0.7276 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.2387, allocations: 180.6 kB / 0.7278 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.239, allocations: 236 kB / 0.728 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004832/0.2439, allocations: 3.234 MB / 0.7312 GB, free: 484 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.65e-05/0.2439, allocations: 7.844 kB / 0.7312 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.2442, allocations: 96 kB / 0.7313 GB, free: 380 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/0.2442, allocations: 71.98 kB / 0.7313 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.2481, allocations: 2.578 MB / 0.7339 GB, free: 13.71 MB / 0.5762 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.3031/0.5512, allocations: 13.79 MB / 0.7473 GB, free: 92.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.5539, allocations: 1.618 MB / 0.7489 GB, free: 92.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5556, allocations: 1.148 MB / 0.75 GB, free: 92.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/0.5563, allocations: 0.7131 MB / 0.7507 GB, free: 91.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.5563, allocations: 56.2 kB / 0.7508 GB, free: 91.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001022/0.5574, allocations: 144 kB / 0.7509 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 4.489e-06/0.5574, allocations: 0.875 kB / 0.7509 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126): time 0.009954/0.5673, allocations: 3.446 MB / 0.7543 GB, free: 90.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.5674, allocations: 142.9 kB / 0.7544 GB, free: 90.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/0.5704, allocations: 2.067 MB / 0.7564 GB, free: 89.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.5706, allocations: 56.06 kB / 0.7565 GB, free: 89.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.5716, allocations: 1.262 MB / 0.7577 GB, free: 88.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/0.572, allocations: 443.4 kB / 0.7581 GB, free: 88.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004765/0.5725, allocations: 346.1 kB / 0.7585 GB, free: 88.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.5726, allocations: 312.3 kB / 0.7588 GB, free: 88.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.5738, allocations: 0.7442 MB / 0.7595 GB, free: 87.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.5756, allocations: 1.245 MB / 0.7607 GB, free: 86.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.5785, allocations: 2.04 MB / 0.7627 GB, free: 85.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.5785, allocations: 7.156 kB / 0.7627 GB, free: 85.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004215/0.5828, allocations: 2.43 MB / 0.7651 GB, free: 84.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.5828, allocations: 20.05 kB / 0.7651 GB, free: 84.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.5828, allocations: 20.44 kB / 0.7651 GB, free: 84.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.585, allocations: 0.5105 MB / 0.7656 GB, free: 84.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.5862, allocations: 353.2 kB / 0.766 GB, free: 84.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.589, allocations: 3.352 MB / 0.7692 GB, free: 82.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.5908, allocations: 117.2 kB / 0.7693 GB, free: 82.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.591, allocations: 84.14 kB / 0.7694 GB, free: 82.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002912/0.5939, allocations: 1.568 MB / 0.771 GB, free: 81.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001402/0.5953, allocations: 1.241 MB / 0.7722 GB, free: 80.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00229/0.5976, allocations: 2.03 MB / 0.7741 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.374e-06/0.5976, allocations: 3.969 kB / 0.7742 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.003225/0.6009, allocations: 2.396 MB / 0.7765 GB, free: 78.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6009, allocations: 12.75 kB / 0.7765 GB, free: 78.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6009, allocations: 15.66 kB / 0.7765 GB, free: 78.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.6014, allocations: 243.2 kB / 0.7768 GB, free: 77.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.6026, allocations: 365.8 kB / 0.7771 GB, free: 77.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.6058, allocations: 4.567 MB / 0.7816 GB, free: 73.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.6073, allocations: 119 kB / 0.7817 GB, free: 73.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.6075, allocations: 84.38 kB / 0.7818 GB, free: 73.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 (onOffHea.y,$PRE.onOffHea.y,yTop.u,and2.y,onOffMid.y,$PRE.onOffMid.y,onOffBot.y,$PRE.onOffBot.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0004251/0.6079, allocations: 296.1 kB / 0.782 GB, free: 73.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.6083, allocations: 213.8 kB / 0.7822 GB, free: 73.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/0.6112, allocations: 2.063 MB / 0.7843 GB, free: 72.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001972/0.6131, allocations: 1.669 MB / 0.7859 GB, free: 71.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6132, allocations: 4 kB / 0.7859 GB, free: 71.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008107/0.614, allocations: 498.4 kB / 0.7864 GB, free: 70.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.6143, allocations: 27.09 kB / 0.7864 GB, free: 70.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.6154, allocations: 95.17 kB / 0.7865 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.6156, allocations: 99.91 kB / 0.7866 GB, free: 70.77 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003321/0.6189, allocations: 2.121 MB / 0.7886 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002977/0.6219, allocations: 2.896 MB / 0.7915 GB, free: 65.75 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008051/0.6228, allocations: 0.7987 MB / 0.7923 GB, free: 64.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001551/0.6243, allocations: 1.428 MB / 0.7937 GB, free: 63.5 MB / 0.5762 GB Notification: Performance of Backend: time 3.11e-07/0.6243, allocations: 384 / 0.7937 GB, free: 63.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004846/0.6292, allocations: 3.141 MB / 0.7967 GB, free: 60.4 MB / 0.5762 GB Notification: Performance of SimCode: time 0.008271/0.6375, allocations: 6.234 MB / 0.8028 GB, free: 54.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.06703/0.7045, allocations: 53.37 MB / 0.8549 GB, free: 1.227 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)