Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008761/0.0008763, allocations: 181.9 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007518, allocations: 89.7 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 9.562 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.03321/0.1905, allocations: 55.53 MB / 0.951 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.2071, allocations: 17.41 MB / 0.968 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.2091, allocations: 67.62 kB / 0.968 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.2113, allocations: 0.7848 MB / 0.9688 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.2167, allocations: 2.267 MB / 0.971 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.2204, allocations: 1.557 MB / 0.9725 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.03233/0.2527, allocations: 38.1 MB / 1.01 GB, free: 144 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01361/0.2664, allocations: 11.27 MB / 1.021 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/0.2798, allocations: 7.248 MB / 1.028 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/0.2921, allocations: 7.981 MB / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001645/0.2938, allocations: 472 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00529/0.2991, allocations: 1.545 MB / 1.038 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002066/0.3011, allocations: 2.167 MB / 1.04 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.007293/0.3084, allocations: 5.271 MB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.3554/0.6639, allocations: 16.9 MB / 1.061 GB, free: 50.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6639, allocations: 3.312 kB / 1.061 GB, free: 50.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/0.664, allocations: 0 / 1.061 GB, free: 50.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000549/0.6645, allocations: 0 / 1.061 GB, free: 50.67 MB / 0.698 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.01971/0.6842, allocations: 9.394 MB / 1.071 GB, free: 47.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.6843, allocations: 8.531 kB / 1.071 GB, free: 47.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006297/0.6906, allocations: 1.165 MB / 1.072 GB, free: 46.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/0.707, allocations: 9.076 MB / 1.081 GB, free: 45.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004938/0.7076, allocations: 0.6124 MB / 1.081 GB, free: 45.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/0.7101, allocations: 0.8202 MB / 1.082 GB, free: 45.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02362/0.7337, allocations: 12.41 MB / 1.094 GB, free: 44.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004619/0.7342, allocations: 30.39 kB / 1.094 GB, free: 44.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002453/0.7367, allocations: 347.3 kB / 1.094 GB, free: 44.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.7369, allocations: 249.4 kB / 1.095 GB, free: 44.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02053/0.7575, allocations: 10.44 MB / 1.105 GB, free: 43.96 MB / 0.698 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.05632/0.8138, allocations: 48.36 MB / 1.152 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007426/0.8213, allocations: 6.319 MB / 1.158 GB, free: 7.145 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005638/0.8269, allocations: 4.975 MB / 1.163 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.828, allocations: 0.8607 MB / 1.164 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005033/0.8331, allocations: 3.38 MB / 1.167 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003667/0.8367, allocations: 0.4984 MB / 1.168 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=455): time 1.097e-05/0.8368, allocations: 4 kB / 1.168 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=455): time 0.0143/0.8511, allocations: 8.934 MB / 1.176 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.8512, allocations: 158.3 kB / 1.177 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/0.8626, allocations: 7.288 MB / 1.184 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007139/0.8634, allocations: 105.7 kB / 1.184 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003844/0.8672, allocations: 4.28 MB / 1.188 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001823/0.8691, allocations: 1.586 MB / 1.19 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008877/0.87, allocations: 478.8 kB / 1.19 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.8701, allocations: 305.1 kB / 1.19 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004723/0.8748, allocations: 3.029 MB / 1.193 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005895/0.8807, allocations: 4.897 MB / 1.198 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.892, allocations: 8.602 MB / 1.206 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-05/0.892, allocations: 16 kB / 1.206 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01474/0.9068, allocations: 8.911 MB / 1.215 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.00129/0.9081, allocations: 1.863 MB / 1.217 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.061e-05/0.9082, allocations: 60 kB / 1.217 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/0.9083, allocations: 88 kB / 1.217 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004816/0.9131, allocations: 1.371 MB / 1.218 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000126/0.9133, allocations: 126.7 kB / 1.219 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006144/0.9194, allocations: 0.6193 MB / 1.219 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005617/0.92, allocations: 276 kB / 1.219 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.92, allocations: 4 kB / 1.219 GB, free: 6.508 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01206/0.9321, allocations: 8.318 MB / 1.228 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/0.9322, allocations: 56 kB / 1.228 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.896e-05/0.9323, allocations: 95.94 kB / 1.228 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004613/0.9369, allocations: 1.369 MB / 1.229 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001164/0.937, allocations: 124.8 kB / 1.229 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/0.9428, allocations: 0.6068 MB / 1.23 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/0.9434, allocations: 272 kB / 1.23 GB, free: 12.14 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * 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 (748): * Single equations (assignments): 746 * 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.005236/0.9486, allocations: 3.549 MB / 1.234 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00206/0.9507, allocations: 0.7063 MB / 1.234 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.9624, allocations: 7.181 MB / 1.241 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009019/0.9714, allocations: 5.871 MB / 1.247 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9714, allocations: 0 / 1.247 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004048/0.9755, allocations: 1.551 MB / 1.248 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00171/0.9772, allocations: 95.98 kB / 1.249 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0051/0.9823, allocations: 0.526 MB / 1.249 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/0.9828, allocations: 247.2 kB / 1.249 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01201/0.9949, allocations: 7.164 MB / 1.256 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01605/1.011, allocations: 11.43 MB / 1.267 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003952/1.015, allocations: 3.221 MB / 1.271 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.008332/1.023, allocations: 5.111 MB / 1.276 GB, free: 13.48 MB / 0.823 GB Notification: Performance of Backend: time 3.2e-07/1.023, allocations: 0 / 1.276 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0182/1.041, allocations: 9.58 MB / 1.285 GB, free: 4.301 MB / 0.823 GB Notification: Performance of SimCode: time 0.04145/1.083, allocations: 24.63 MB / 1.309 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.8132/1.896, allocations: 178.4 MB / 1.483 GB, free: 294.1 MB / 0.9324 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)