Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009902/0.0009901, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001179/0.001179, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.703/1.703, allocations: 252 MB / 0.5102 GB, free: 4.715 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007164/0.0007167, allocations: 12 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6527, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03628/0.689, allocations: 34.93 MB / 0.7622 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.709, allocations: 11.74 MB / 0.7737 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.7125, allocations: 43.69 kB / 0.7737 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.7147, allocations: 417.2 kB / 0.7741 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.7208, allocations: 1.259 MB / 0.7754 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.7245, allocations: 0.9372 MB / 0.7763 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.7356, allocations: 8.85 MB / 0.7849 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004938/0.7406, allocations: 2.743 MB / 0.7876 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006304/0.7469, allocations: 2.113 MB / 0.7897 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.7532, allocations: 2.139 MB / 0.7918 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006965/0.754, allocations: 132 kB / 0.7919 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.7576, allocations: 0.7915 MB / 0.7926 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008285/0.7585, allocations: 0.5797 MB / 0.7932 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.7603, allocations: 0.6407 MB / 0.7938 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005502/0.7658, allocations: 3.955 MB / 0.7977 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.7658, allocations: 4 kB / 0.7977 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7659, allocations: 0 / 0.7977 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.00013/0.766, allocations: 0 / 0.7977 GB, free: 3.895 MB / 0.6075 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.006304/0.7723, allocations: 3 MB / 0.8006 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.7724, allocations: 8.031 kB / 0.8006 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.7735, allocations: 352.1 kB / 0.801 GB, free: 484 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/0.7781, allocations: 2.505 MB / 0.8034 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.7783, allocations: 180.6 kB / 0.8036 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.7787, allocations: 236 kB / 0.8038 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005654/0.7843, allocations: 3.183 MB / 0.8069 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-05/0.7844, allocations: 7.844 kB / 0.8069 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.7847, allocations: 96 kB / 0.807 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.703e-05/0.7847, allocations: 75.94 kB / 0.8071 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/0.7897, allocations: 2.566 MB / 0.8096 GB, free: 7.426 MB / 0.6231 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.0224/0.8122, allocations: 13.71 MB / 0.823 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.8148, allocations: 1.611 MB / 0.8246 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.8165, allocations: 1.178 MB / 0.8257 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009014/0.8174, allocations: 0.7282 MB / 0.8264 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.8175, allocations: 43.56 kB / 0.8265 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001531/0.819, allocations: 190.8 kB / 0.8267 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 3.918e-06/0.819, allocations: 0 / 0.8267 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.008121/0.8272, allocations: 3.374 MB / 0.83 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.8273, allocations: 141.5 kB / 0.8301 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/0.8312, allocations: 1.939 MB / 0.832 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.8314, allocations: 57.7 kB / 0.832 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.833, allocations: 1.25 MB / 0.8333 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005511/0.8335, allocations: 449.6 kB / 0.8337 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.8337, allocations: 36 kB / 0.8337 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.8339, allocations: 369.9 kB / 0.8341 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.8352, allocations: 0.73 MB / 0.8348 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.837, allocations: 1.233 MB / 0.836 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.8387, allocations: 0.9471 MB / 0.8369 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/0.8387, allocations: 4 kB / 0.8369 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00459/0.8433, allocations: 2.405 MB / 0.8393 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.8438, allocations: 0.5071 MB / 0.8398 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.8438, allocations: 12 kB / 0.8398 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.8458, allocations: 0.4895 MB / 0.8403 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.8471, allocations: 347.4 kB / 0.8406 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.8515, allocations: 3.136 MB / 0.8436 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/0.8545, allocations: 223.5 kB / 0.8439 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/0.8548, allocations: 83.97 kB / 0.8439 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.8548, allocations: 4 kB / 0.8439 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003748/0.8585, allocations: 2.18 MB / 0.8461 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.8586, allocations: 12 kB / 0.8461 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.8592, allocations: 253.6 kB / 0.8463 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.8605, allocations: 367.4 kB / 0.8467 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.8654, allocations: 4.176 MB / 0.8508 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.8679, allocations: 215.6 kB / 0.851 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/0.8682, allocations: 83.97 kB / 0.851 GB, free: 10.73 MB / 0.67 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 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002745/0.871, allocations: 1 MB / 0.852 GB, free: 9.715 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009032/0.8719, allocations: 205.5 kB / 0.8522 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/0.8768, allocations: 2.055 MB / 0.8542 GB, free: 7.449 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/0.8768, allocations: 19.95 kB / 0.8542 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.8768, allocations: 0 / 0.8542 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002814/0.8796, allocations: 1.668 MB / 0.8559 GB, free: 5.746 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.8904, allocations: 4.654 MB / 0.8604 GB, free: 1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.8904, allocations: 3.938 kB / 0.8604 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.8913, allocations: 203.8 kB / 0.8606 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.8928, allocations: 427.4 kB / 0.861 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.893, allocations: 39.97 kB / 0.8611 GB, free: 344 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.8964, allocations: 3.044 MB / 0.864 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8964, allocations: 3.953 kB / 0.864 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/0.9014, allocations: 2.983 MB / 0.8669 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/0.9033, allocations: 0.5023 MB / 0.8674 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/0.904, allocations: 28.09 kB / 0.8675 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.906, allocations: 203.6 kB / 0.8677 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.9063, allocations: 105.1 kB / 0.8678 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.9064, allocations: 47.97 kB / 0.8678 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002907/0.9093, allocations: 1.334 MB / 0.8691 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9093, allocations: 0 / 0.8691 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006358/0.9157, allocations: 1.468 MB / 0.8705 GB, free: 6.383 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.9169, allocations: 372.7 kB / 0.8709 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006753/0.9237, allocations: 3.35 MB / 0.8742 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.9237, allocations: 0 / 0.8742 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.9258, allocations: 1.024 MB / 0.8752 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007208/0.9331, allocations: 1.156 MB / 0.8763 GB, free: 476 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.947, allocations: 6.274 MB / 0.8824 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003171/0.9502, allocations: 2.152 MB / 0.8845 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004092/0.9544, allocations: 0.9298 MB / 0.8854 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/0.9552, allocations: 171.3 kB / 0.8856 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of SimCode: time 1.292e-06/0.9552, allocations: 0 / 0.8856 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of Templates: time 0.6171/1.572, allocations: 44.44 MB / 0.929 GB, free: 157.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) Environment - environmentSimulation: