Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_latest_Buildings.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.001443/0.001443, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001599/0.001599, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.768, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0376/0.8057, allocations: 37.78 MB / 1.245 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.82, allocations: 9.524 MB / 1.255 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.822, allocations: 47.75 kB / 1.255 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.8239, allocations: 0.5897 MB / 1.255 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.8286, allocations: 1.659 MB / 1.257 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.8319, allocations: 1.261 MB / 1.258 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009751/0.8417, allocations: 8.12 MB / 1.266 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005249/0.847, allocations: 3.886 MB / 1.27 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006492/0.8535, allocations: 2.881 MB / 1.273 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004191/0.8577, allocations: 2.494 MB / 1.275 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.8589, allocations: 360 kB / 1.275 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.8624, allocations: 1.194 MB / 1.277 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.8638, allocations: 0.8958 MB / 1.277 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00374/0.8676, allocations: 1.844 MB / 1.279 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007519/0.8751, allocations: 5.221 MB / 1.284 GB, free: 15.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8751, allocations: 4 kB / 1.284 GB, free: 15.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8751, allocations: 0 / 1.284 GB, free: 15.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001849/0.8753, allocations: 0 / 1.284 GB, free: 15.65 MB / 1.014 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.008569/0.8839, allocations: 3.643 MB / 1.288 GB, free: 11.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.884, allocations: 12.03 kB / 1.288 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.8851, allocations: 353 kB / 1.288 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/0.8893, allocations: 2.671 MB / 1.291 GB, free: 8.863 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.8895, allocations: 176.6 kB / 1.291 GB, free: 8.688 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.8898, allocations: 231.9 kB / 1.291 GB, free: 8.461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005118/0.8949, allocations: 3.246 MB / 1.294 GB, free: 5.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/0.895, allocations: 11.88 kB / 1.294 GB, free: 5.062 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.8952, allocations: 100 kB / 1.295 GB, free: 4.965 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.8953, allocations: 63.98 kB / 1.295 GB, free: 4.902 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/0.8992, allocations: 2.586 MB / 1.297 GB, free: 2.301 MB / 1.014 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.01567/0.9149, allocations: 13.78 MB / 1.311 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.9173, allocations: 1.617 MB / 1.312 GB, free: 1.832 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.9188, allocations: 1.142 MB / 1.313 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007886/0.9196, allocations: 0.7127 MB / 1.314 GB, free: 15.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.9197, allocations: 51.56 kB / 1.314 GB, free: 15.76 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009628/0.9207, allocations: 148.7 kB / 1.314 GB, free: 15.62 MB / 1.045 GB Notification: Performance of pre-optimization done (n=126): time 3.938e-06/0.9207, allocations: 0 / 1.314 GB, free: 15.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=126): time 0.008767/0.9295, allocations: 3.445 MB / 1.318 GB, free: 12.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.9295, allocations: 141.5 kB / 1.318 GB, free: 11.95 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.9323, allocations: 2.07 MB / 1.32 GB, free: 9.844 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.9325, allocations: 57.7 kB / 1.32 GB, free: 9.781 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.9336, allocations: 1.269 MB / 1.321 GB, free: 8.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.934, allocations: 437.8 kB / 1.321 GB, free: 8.062 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.9344, allocations: 351.2 kB / 1.322 GB, free: 7.711 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.9345, allocations: 305.1 kB / 1.322 GB, free: 7.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.9356, allocations: 0.7425 MB / 1.323 GB, free: 6.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.937, allocations: 1.248 MB / 1.324 GB, free: 5.203 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/0.9396, allocations: 2.045 MB / 1.326 GB, free: 2.965 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.9396, allocations: 4 kB / 1.326 GB, free: 2.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003955/0.9436, allocations: 2.426 MB / 1.328 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.9436, allocations: 12 kB / 1.328 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.9436, allocations: 16 kB / 1.328 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/0.9458, allocations: 0.5169 MB / 1.329 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.9471, allocations: 347.4 kB / 1.329 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.9504, allocations: 3.362 MB / 1.332 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.9522, allocations: 123.8 kB / 1.333 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.9524, allocations: 79.97 kB / 1.333 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002417/0.9548, allocations: 1.569 MB / 1.334 GB, free: 10.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001447/0.9563, allocations: 1.236 MB / 1.335 GB, free: 8.879 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002602/0.9589, allocations: 2.033 MB / 1.337 GB, free: 6.652 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.329e-05/0.9589, allocations: 8.062 kB / 1.337 GB, free: 6.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.004046/0.9629, allocations: 2.398 MB / 1.34 GB, free: 4.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.963, allocations: 12 kB / 1.34 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.963, allocations: 16 kB / 1.34 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.9636, allocations: 241.5 kB / 1.34 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.965, allocations: 367.4 kB / 1.34 GB, free: 3.602 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/0.9693, allocations: 4.55 MB / 1.345 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.9712, allocations: 119.9 kB / 1.345 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.9714, allocations: 79.97 kB / 1.345 GB, free: 14.57 MB / 1.076 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.0004849/0.9719, allocations: 291.1 kB / 1.345 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006559/0.9725, allocations: 221.3 kB / 1.345 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.9762, allocations: 2.069 MB / 1.347 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003171/0.9793, allocations: 1.671 MB / 1.349 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.9794, allocations: 3.938 kB / 1.349 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.9809, allocations: 494.6 kB / 1.35 GB, free: 9.789 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006883/0.9816, allocations: 28 kB / 1.35 GB, free: 9.762 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.9833, allocations: 95.73 kB / 1.35 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.9836, allocations: 105.2 kB / 1.35 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004043/0.9876, allocations: 2.126 MB / 1.352 GB, free: 7.426 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004625/0.9923, allocations: 2.892 MB / 1.355 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001214/0.9935, allocations: 0.7948 MB / 1.355 GB, free: 3.719 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002945/0.9965, allocations: 1.432 MB / 1.357 GB, free: 2.266 MB / 1.076 GB Notification: Performance of Backend: time 6.82e-07/0.9965, allocations: 0 / 1.357 GB, free: 2.266 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007015/1.004, allocations: 3.133 MB / 1.36 GB, free: 15.11 MB / 1.092 GB Notification: Performance of SimCode: time 0.01131/1.015, allocations: 6.241 MB / 1.366 GB, free: 8.836 MB / 1.092 GB Notification: Performance of Templates: time 0.08341/1.098, allocations: 53.39 MB / 1.418 GB, free: 3.875 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)