Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001041/0.001041, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.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.001454/0.001454, allocations: 72.47 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2283, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.4486/0.677, allocations: 80.91 MB / 0.8638 GB, free: 10.74 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03709/0.7141, allocations: 22.3 MB / 0.8856 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005572/0.7197, allocations: 109 kB / 0.8857 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00445/0.7243, allocations: 1.148 MB / 0.8868 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009962/0.7343, allocations: 2.757 MB / 0.8895 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007296/0.7416, allocations: 2.387 MB / 0.8918 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.03069/0.7723, allocations: 26.72 MB / 0.9179 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02277/0.7951, allocations: 17 MB / 0.9345 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02355/0.8187, allocations: 11.27 MB / 0.9455 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02221/0.841, allocations: 11.65 MB / 0.9569 GB, free: 10 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.005339/0.8464, allocations: 1.285 MB / 0.9581 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.8576, allocations: 2.576 MB / 0.9607 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.007576/0.8652, allocations: 3.619 MB / 0.9642 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01525/0.8805, allocations: 6.45 MB / 0.9705 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02545/0.906, allocations: 18.4 MB / 0.9885 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.906, allocations: 0 / 0.9885 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.906, allocations: 0 / 0.9885 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0005124/0.9065, allocations: 0 / 0.9885 GB, free: 9.586 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03674/0.9433, allocations: 12.12 MB / 1 GB, free: 13.36 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.9434, allocations: 12.03 kB / 1 GB, free: 13.35 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008811/0.9522, allocations: 1.248 MB / 1.002 GB, free: 12.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02414/0.9764, allocations: 9.937 MB / 1.011 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004998/0.9769, allocations: 435.1 kB / 1.012 GB, free: 1.645 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/0.9806, allocations: 0.5896 MB / 1.012 GB, free: 1.055 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/1.015, allocations: 14.61 MB / 1.026 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/1.015, allocations: 27.77 kB / 1.027 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003212/1.018, allocations: 240 kB / 1.027 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/1.018, allocations: 140 kB / 1.027 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03586/1.054, allocations: 19.75 MB / 1.046 GB, free: 14 MB / 0.8419 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.1128/1.167, allocations: 60 MB / 1.105 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/1.182, allocations: 9.167 MB / 1.114 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01277/1.195, allocations: 8.585 MB / 1.122 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7525/1.947, allocations: 27.42 MB / 1.149 GB, free: 283.9 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01574/1.963, allocations: 7.641 MB / 1.156 GB, free: 281.6 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01729/1.98, allocations: 4.493 MB / 1.161 GB, free: 281.1 MB / 0.92 GB Notification: Performance of pre-optimization done (n=299): time 3.829e-05/1.981, allocations: 3.969 kB / 1.161 GB, free: 281.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=299): time 0.06122/2.042, allocations: 23.3 MB / 1.183 GB, free: 273.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/2.042, allocations: 83.48 kB / 1.184 GB, free: 273.4 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01547/2.057, allocations: 8.105 MB / 1.191 GB, free: 270.6 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.002719/2.06, allocations: 96.7 kB / 1.192 GB, free: 270.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.004586/2.065, allocations: 3.998 MB / 1.195 GB, free: 267.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00367/2.068, allocations: 1.077 MB / 1.197 GB, free: 266.8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006777/2.075, allocations: 1.665 MB / 1.198 GB, free: 265.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/2.075, allocations: 304.2 kB / 1.198 GB, free: 265.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/2.086, allocations: 6.546 MB / 1.205 GB, free: 261.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/2.097, allocations: 8.322 MB / 1.213 GB, free: 255.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/2.118, allocations: 15.25 MB / 1.228 GB, free: 244.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.323e-05/2.119, allocations: 12 kB / 1.228 GB, free: 244.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03681/2.155, allocations: 17.56 MB / 1.245 GB, free: 227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/2.155, allocations: 53.69 kB / 1.245 GB, free: 227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.248e-05/2.156, allocations: 49.17 kB / 1.245 GB, free: 226.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06258/2.218, allocations: 11.58 MB / 1.256 GB, free: 215.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008303/2.226, allocations: 1.546 MB / 1.258 GB, free: 213.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/2.231, allocations: 3.788 MB / 1.262 GB, free: 210 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.242, allocations: 344.1 kB / 1.262 GB, free: 209.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002827/2.245, allocations: 0.5382 MB / 1.262 GB, free: 209.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01473/2.259, allocations: 8.795 MB / 1.271 GB, free: 200.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01026/2.27, allocations: 8.28 MB / 1.279 GB, free: 191.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01989/2.29, allocations: 15.16 MB / 1.294 GB, free: 175.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.865e-05/2.29, allocations: 12 kB / 1.294 GB, free: 175.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.03429/2.324, allocations: 17.39 MB / 1.311 GB, free: 157.8 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/2.324, allocations: 49.7 kB / 1.311 GB, free: 157.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.806e-05/2.324, allocations: 50.2 kB / 1.311 GB, free: 157.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06238/2.387, allocations: 11.14 MB / 1.322 GB, free: 146.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00832/2.395, allocations: 1.542 MB / 1.323 GB, free: 145.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008601/2.404, allocations: 8.186 MB / 1.331 GB, free: 136.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/2.414, allocations: 341 kB / 1.332 GB, free: 136.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002975/2.417, allocations: 0.5381 MB / 1.332 GB, free: 135.7 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003973/2.421, allocations: 490.7 kB / 1.333 GB, free: 135.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004417/2.426, allocations: 0.7564 MB / 1.333 GB, free: 134.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02841/2.454, allocations: 14.16 MB / 1.347 GB, free: 120.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.393e-05/2.454, allocations: 32 kB / 1.347 GB, free: 120.2 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/2.454, allocations: 2.125 kB / 1.347 GB, free: 120.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01623/2.471, allocations: 10.77 MB / 1.358 GB, free: 109.4 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03765/2.508, allocations: 24.51 MB / 1.382 GB, free: 84.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/2.508, allocations: 3.984 kB / 1.382 GB, free: 84.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005301/2.514, allocations: 0.6882 MB / 1.382 GB, free: 84.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05998/2.574, allocations: 10.75 MB / 1.393 GB, free: 73.41 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001245/2.575, allocations: 107.4 kB / 1.393 GB, free: 73.31 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/2.579, allocations: 3.105 MB / 1.396 GB, free: 70.13 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/2.579, allocations: 4 kB / 1.396 GB, free: 70.13 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02701/2.606, allocations: 19.17 MB / 1.415 GB, free: 50.87 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005659/2.611, allocations: 1.802 MB / 1.417 GB, free: 49.04 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003098/2.614, allocations: 75.97 kB / 1.417 GB, free: 48.97 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006935/2.621, allocations: 195.6 kB / 1.417 GB, free: 48.78 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001434/2.623, allocations: 218.5 kB / 1.417 GB, free: 48.56 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001067/2.624, allocations: 155.9 kB / 1.417 GB, free: 48.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.009283/2.633, allocations: 5.601 MB / 1.423 GB, free: 42.83 MB / 0.92 GB Notification: Performance of sort global known variables: time 6.51e-07/2.633, allocations: 0 / 1.423 GB, free: 42.83 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01916/2.652, allocations: 4.77 MB / 1.427 GB, free: 38.09 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,4), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002547/2.655, allocations: 0.5945 MB / 1.428 GB, free: 37.56 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.03714/2.692, allocations: 23.48 MB / 1.451 GB, free: 14.03 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.692, allocations: 1 kB / 1.451 GB, free: 14.03 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.009374/2.702, allocations: 6.33 MB / 1.457 GB, free: 7.707 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02426/2.726, allocations: 4.907 MB / 1.462 GB, free: 3.059 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/2.765, allocations: 20.39 MB / 1.482 GB, free: 14.66 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008126/2.773, allocations: 5.189 MB / 1.487 GB, free: 9.434 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006236/2.779, allocations: 0.9359 MB / 1.488 GB, free: 8.496 MB / 0.9513 GB Notification: Performance of SimCode: time 1.162e-06/2.779, allocations: 0 / 1.488 GB, free: 8.496 MB / 0.9513 GB Notification: Performance of Templates: time 0.7113/3.491, allocations: 305.2 MB / 1.786 GB, free: 55.71 MB / 0.9513 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)