Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001503, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001511/0.001511, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.276/1.276, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001571/0.001571, allocations: 63.89 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2049, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 0.6641/0.869, allocations: 356.6 MB / 1.133 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5328/1.402, allocations: 77.32 MB / 1.209 GB, free: 54.92 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01618/1.418, allocations: 442.2 kB / 1.209 GB, free: 54.92 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01695/1.435, allocations: 5.772 MB / 1.215 GB, free: 54.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.03931/1.474, allocations: 13.37 MB / 1.228 GB, free: 54.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.02936/1.504, allocations: 13.02 MB / 1.24 GB, free: 53.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.04204/1.546, allocations: 38.85 MB / 1.278 GB, free: 36.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02415/1.57, allocations: 20.2 MB / 1.298 GB, free: 19.78 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03055/1.601, allocations: 17.1 MB / 1.315 GB, free: 3.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02795/1.629, allocations: 15.91 MB / 1.33 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.007181/1.636, allocations: 1.879 MB / 1.332 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/1.655, allocations: 5.833 MB / 1.338 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.009712/1.665, allocations: 5.982 MB / 1.344 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02257/1.688, allocations: 10.6 MB / 1.354 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.04405/1.732, allocations: 29.7 MB / 1.383 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.732, allocations: 0 / 1.383 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.936e-06/1.732, allocations: 0 / 1.383 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0008483/1.733, allocations: 3.938 kB / 1.383 GB, free: 0.6055 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.0623/1.795, allocations: 22.76 MB / 1.405 GB, free: 9.898 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.795, allocations: 15.88 kB / 1.405 GB, free: 9.883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/1.807, allocations: 2.343 MB / 1.408 GB, free: 7.516 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03736/1.844, allocations: 15.96 MB / 1.423 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007714/1.845, allocations: 0.7005 MB / 1.424 GB, free: 7.148 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00443/1.849, allocations: 0.9882 MB / 1.425 GB, free: 6.164 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03975/1.889, allocations: 17.31 MB / 1.442 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000313/1.889, allocations: 11.84 kB / 1.442 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002919/1.892, allocations: 362.9 kB / 1.442 GB, free: 3.949 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001948/1.893, allocations: 215.9 kB / 1.442 GB, free: 3.738 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03546/1.928, allocations: 20.57 MB / 1.462 GB, free: 15.16 MB / 1.076 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.1375/2.065, allocations: 81.1 MB / 1.542 GB, free: 11.58 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9319/2.997, allocations: 12.55 MB / 1.554 GB, free: 237.9 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01494/3.012, allocations: 9.484 MB / 1.563 GB, free: 237.9 MB / 1.154 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 evalFunc (simulation): time 0.06929/3.082, allocations: 34.25 MB / 1.596 GB, free: 230.8 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01619/3.098, allocations: 9.768 MB / 1.606 GB, free: 230.6 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01955/3.118, allocations: 5.848 MB / 1.612 GB, free: 230.6 MB / 1.154 GB Notification: Performance of pre-optimization done (n=572): time 3.951e-05/3.118, allocations: 0 / 1.612 GB, free: 230.6 MB / 1.154 GB Notification: Performance of matching and sorting (n=800): time 0.8387/3.956, allocations: 191.5 MB / 1.799 GB, free: 85.39 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004733/3.957, allocations: 2.534 MB / 1.801 GB, free: 82.26 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03077/3.988, allocations: 15.66 MB / 1.817 GB, free: 66.79 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.004867/3.993, allocations: 252.3 kB / 1.817 GB, free: 66.55 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.009742/4.002, allocations: 7.642 MB / 1.824 GB, free: 58.95 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.005794/4.008, allocations: 2.78 MB / 1.827 GB, free: 56.19 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01404/4.022, allocations: 3.097 MB / 1.83 GB, free: 53.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.63e-05/4.022, allocations: 301.1 kB / 1.83 GB, free: 52.8 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02124/4.044, allocations: 11.93 MB / 1.842 GB, free: 40.86 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02443/4.068, allocations: 15.23 MB / 1.857 GB, free: 24.38 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04817/4.116, allocations: 25.9 MB / 1.882 GB, free: 13.9 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.847e-05/4.116, allocations: 13 kB / 1.882 GB, free: 13.89 MB / 1.17 GB Notification: Performance of matching and sorting (n=1412) (initialization): time 1.286/5.403, allocations: 117.6 MB / 1.997 GB, free: 0.5475 GB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/5.403, allocations: 56.12 kB / 1.997 GB, free: 0.5475 GB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/5.403, allocations: 103.3 kB / 1.997 GB, free: 0.5475 GB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6122/6.015, allocations: 119 MB / 2.113 GB, free: 0.5205 GB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01396/6.029, allocations: 2.719 MB / 2.116 GB, free: 0.5199 GB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1415/6.171, allocations: 83.64 MB / 2.198 GB, free: 450.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01669/6.187, allocations: 0.9955 MB / 2.199 GB, free: 449.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003002/6.19, allocations: 0.8658 MB / 2.199 GB, free: 448.7 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0277/6.218, allocations: 15.18 MB / 2.214 GB, free: 433.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02222/6.24, allocations: 14.76 MB / 2.229 GB, free: 417.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04321/6.284, allocations: 24.99 MB / 2.253 GB, free: 391.9 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.386e-05/6.284, allocations: 12 kB / 2.253 GB, free: 391.9 MB / 1.264 GB Notification: Performance of matching and sorting (n=1412) (initialization_lambda0): time 0.5884/6.872, allocations: 116 MB / 2.366 GB, free: 277.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/6.872, allocations: 61.34 kB / 2.366 GB, free: 277.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/6.873, allocations: 103.9 kB / 2.366 GB, free: 277 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6115/7.484, allocations: 118.6 MB / 2.482 GB, free: 158.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/7.497, allocations: 2.676 MB / 2.485 GB, free: 155.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1542/7.651, allocations: 87.84 MB / 2.571 GB, free: 67.82 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01854/7.669, allocations: 1.065 MB / 2.572 GB, free: 66.76 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003997/7.673, allocations: 0.8343 MB / 2.572 GB, free: 65.93 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1050): * Single equations (assignments): 970 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,90), (14,90)} Notification: Performance of prepare postOptimizeDAE: time 0.006363/7.68, allocations: 0.7954 MB / 2.573 GB, free: 65.13 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006389/7.686, allocations: 1.542 MB / 2.575 GB, free: 64.41 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1998/7.886, allocations: 51.6 MB / 2.625 GB, free: 12.98 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.591/8.477, allocations: 45.58 MB / 2.67 GB, free: 0.5379 GB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.652e-05/8.477, allocations: 0 / 2.67 GB, free: 0.5379 GB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01092/8.488, allocations: 3.184 MB / 2.673 GB, free: 0.5371 GB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006714/8.495, allocations: 275.3 kB / 2.673 GB, free: 0.537 GB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01606/8.511, allocations: 0.8277 MB / 2.674 GB, free: 0.5369 GB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007659/8.519, allocations: 1.053 MB / 2.675 GB, free: 0.5368 GB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07813/8.597, allocations: 27.39 MB / 2.702 GB, free: 0.5296 GB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06081/8.658, allocations: 30.77 MB / 2.732 GB, free: 0.5194 GB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01675/8.674, allocations: 9.637 MB / 2.741 GB, free: 0.5161 GB / 1.264 GB Notification: Performance of sorting global known variables: time 0.02208/8.696, allocations: 10.66 MB / 2.752 GB, free: 0.5127 GB / 1.264 GB Notification: Performance of Backend: time 1.323e-06/8.696, allocations: 0 / 2.752 GB, free: 0.5127 GB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0947/8.791, allocations: 39.59 MB / 2.79 GB, free: 495.5 MB / 1.264 GB Notification: Performance of SimCode: time 0.07192/8.863, allocations: 39.22 MB / 2.828 GB, free: 457.1 MB / 1.264 GB Notification: Performance of Templates: time 0.9587/9.822, allocations: 0.4894 GB / 3.318 GB, free: 0.5329 GB / 1.264 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)