Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000989/0.0009891, allocations: 180.5 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 0.6316 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007462/0.0007461, allocations: 102.1 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 17.02 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1802, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 0.6512/0.8314, allocations: 329.5 MB / 1.302 GB, free: 4.781 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1033/0.9348, allocations: 72.93 MB / 1.374 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/0.9509, allocations: 373.2 kB / 1.374 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01685/0.9678, allocations: 4.116 MB / 1.378 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03854/1.006, allocations: 11.35 MB / 1.389 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03176/1.038, allocations: 9.907 MB / 1.399 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 1.019/2.057, allocations: 43.05 MB / 1.441 GB, free: 51.06 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03162/2.088, allocations: 17.5 MB / 1.458 GB, free: 49.22 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03359/2.122, allocations: 14.36 MB / 1.472 GB, free: 49.2 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0292/2.151, allocations: 14.71 MB / 1.486 GB, free: 49.16 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.00802/2.159, allocations: 1.078 MB / 1.487 GB, free: 49.16 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01965/2.179, allocations: 4.627 MB / 1.492 GB, free: 49.08 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01135/2.19, allocations: 4.942 MB / 1.497 GB, free: 49.08 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02647/2.217, allocations: 9.175 MB / 1.506 GB, free: 49.05 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02955/2.246, allocations: 22.5 MB / 1.528 GB, free: 46.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/2.246, allocations: 0 / 1.528 GB, free: 46.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.883e-06/2.247, allocations: 2.516 kB / 1.528 GB, free: 46.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00107/2.248, allocations: 0 / 1.528 GB, free: 46.12 MB / 0.948 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.05474/2.302, allocations: 20.51 MB / 1.548 GB, free: 35.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/2.302, allocations: 11.41 kB / 1.548 GB, free: 35.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/2.316, allocations: 2.392 MB / 1.55 GB, free: 34.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03848/2.355, allocations: 15.77 MB / 1.565 GB, free: 28.28 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009335/2.356, allocations: 0.728 MB / 1.566 GB, free: 28.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006413/2.362, allocations: 1.007 MB / 1.567 GB, free: 28.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04536/2.407, allocations: 17.41 MB / 1.584 GB, free: 21.26 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005298/2.408, allocations: 11.41 kB / 1.584 GB, free: 21.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005052/2.413, allocations: 355.1 kB / 1.585 GB, free: 21.17 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/2.413, allocations: 216.4 kB / 1.585 GB, free: 20.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03893/2.452, allocations: 20.67 MB / 1.605 GB, free: 6.82 MB / 0.948 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.1501/2.602, allocations: 81.53 MB / 1.685 GB, free: 3.488 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02188/2.624, allocations: 12.99 MB / 1.697 GB, free: 11.8 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01526/2.64, allocations: 10.01 MB / 1.707 GB, free: 5.949 MB / 1.026 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.0836/2.723, allocations: 36.16 MB / 1.742 GB, free: 10.19 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01834/2.742, allocations: 10.02 MB / 1.752 GB, free: 424 kB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03104/2.773, allocations: 10.01 MB / 1.762 GB, free: 6.543 MB / 1.073 GB Notification: Performance of pre-optimization done (n=600): time 4.111e-05/2.773, allocations: 0 / 1.762 GB, free: 6.543 MB / 1.073 GB Notification: Performance of matching and sorting (n=852): time 1.712/4.484, allocations: 219.4 MB / 1.976 GB, free: 432.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005567/4.485, allocations: 2.585 MB / 1.979 GB, free: 429.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02711/4.512, allocations: 15.4 MB / 1.994 GB, free: 414.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.005689/4.518, allocations: 266.5 kB / 1.994 GB, free: 414.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.007437/4.525, allocations: 7.758 MB / 2.002 GB, free: 406.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004757/4.53, allocations: 2.956 MB / 2.004 GB, free: 404.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/4.532, allocations: 216.7 kB / 2.005 GB, free: 404 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0005159/4.532, allocations: 0.7535 MB / 2.005 GB, free: 403.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01757/4.55, allocations: 11.34 MB / 2.016 GB, free: 391.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02198/4.572, allocations: 14.85 MB / 2.031 GB, free: 375.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04163/4.613, allocations: 24.79 MB / 2.055 GB, free: 350.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.138e-05/4.614, allocations: 12 kB / 2.055 GB, free: 350.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=1440) (initialization): time 0.5952/5.209, allocations: 130.7 MB / 2.183 GB, free: 219.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007108/5.21, allocations: 1.57 MB / 2.184 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/5.21, allocations: 107.9 kB / 2.184 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6244/5.834, allocations: 149.9 MB / 2.331 GB, free: 66.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01386/5.848, allocations: 2.552 MB / 2.333 GB, free: 64.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5612/6.409, allocations: 83.79 MB / 2.415 GB, free: 449.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01985/6.429, allocations: 1.361 MB / 2.416 GB, free: 449.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004622/6.434, allocations: 0.8709 MB / 2.417 GB, free: 449.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/6.434, allocations: 4.188 kB / 2.417 GB, free: 449.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5917/7.026, allocations: 128.8 MB / 2.543 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002908/7.026, allocations: 103.8 kB / 2.543 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6206/7.647, allocations: 150 MB / 2.69 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/7.658, allocations: 2.504 MB / 2.692 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1508/7.809, allocations: 90.11 MB / 2.78 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01914/7.828, allocations: 1.338 MB / 2.781 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004149/7.833, allocations: 0.8344 MB / 2.782 GB, free: 138.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 902 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.01204/7.845, allocations: 4.273 MB / 2.786 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004235/7.849, allocations: 1.559 MB / 2.788 GB, free: 133.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.202/8.051, allocations: 54.81 MB / 2.841 GB, free: 78.25 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1861/8.237, allocations: 48.63 MB / 2.889 GB, free: 29.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.786e-05/8.237, allocations: 0 / 2.889 GB, free: 29.49 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01041/8.248, allocations: 3.508 MB / 2.892 GB, free: 25.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004432/8.252, allocations: 287.9 kB / 2.893 GB, free: 25.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01304/8.265, allocations: 1.176 MB / 2.894 GB, free: 24.54 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.4016/8.667, allocations: 1.199 MB / 2.895 GB, free: 454.3 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07981/8.746, allocations: 29.88 MB / 2.924 GB, free: 452.2 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05105/8.798, allocations: 31.78 MB / 2.955 GB, free: 441.5 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01505/8.813, allocations: 9.948 MB / 2.965 GB, free: 438 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01589/8.829, allocations: 10.44 MB / 2.975 GB, free: 434.6 MB / 1.151 GB Notification: Performance of Backend: time 2.054e-06/8.829, allocations: 0 / 2.975 GB, free: 434.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.08755/8.916, allocations: 40.83 MB / 3.015 GB, free: 418.7 MB / 1.151 GB Notification: Performance of SimCode: time 0.06676/8.983, allocations: 45.1 MB / 3.059 GB, free: 379.4 MB / 1.151 GB Notification: Performance of Templates: time 1.056/10.04, allocations: 477.4 MB / 3.525 GB, free: 422.2 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)