Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.564/1.564, allocations: 287.4 MB / 303.2 MB, free: 8.227 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.0009477/0.0009478, allocations: 176.5 kB / 371.8 MB, free: 10.81 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.354/1.354, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0007941/0.0007941, allocations: 88.16 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 19.53 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1771, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.6522/0.8294, allocations: 329.6 MB / 1.301 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.09998/0.9294, allocations: 72.93 MB / 1.372 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01409/0.9435, allocations: 373.2 kB / 1.373 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01281/0.9564, allocations: 3.556 MB / 1.376 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03073/0.9871, allocations: 10.34 MB / 1.386 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01941/1.007, allocations: 7.029 MB / 1.393 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.04403/1.051, allocations: 38.61 MB / 1.431 GB, free: 0.875 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5336/1.584, allocations: 15.89 MB / 1.446 GB, free: 48.13 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03139/1.616, allocations: 12.86 MB / 1.459 GB, free: 48.11 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02964/1.645, allocations: 13.51 MB / 1.472 GB, free: 48.07 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.008169/1.654, allocations: 0.9953 MB / 1.473 GB, free: 48.07 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02128/1.675, allocations: 3.784 MB / 1.477 GB, free: 48 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01138/1.686, allocations: 4.245 MB / 1.481 GB, free: 48 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0116/1.698, allocations: 2.936 MB / 1.484 GB, free: 47.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02669/1.725, allocations: 19.34 MB / 1.503 GB, free: 46.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.725, allocations: 0 / 1.503 GB, free: 46.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.946e-06/1.725, allocations: 0 / 1.503 GB, free: 46.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008686/1.726, allocations: 10.06 kB / 1.503 GB, free: 46.61 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.0446/1.77, allocations: 18.01 MB / 1.52 GB, free: 40.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.77, allocations: 9.969 kB / 1.52 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/1.783, allocations: 2.297 MB / 1.523 GB, free: 39.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02945/1.812, allocations: 13.94 MB / 1.536 GB, free: 34.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001198/1.814, allocations: 0.7307 MB / 1.537 GB, free: 34.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004364/1.818, allocations: 0.7871 MB / 1.538 GB, free: 34.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03217/1.85, allocations: 14.9 MB / 1.552 GB, free: 29.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/1.85, allocations: 13.94 kB / 1.552 GB, free: 29.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001503/1.852, allocations: 287 kB / 1.552 GB, free: 29.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/1.852, allocations: 187 kB / 1.553 GB, free: 29.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03076/1.883, allocations: 19.36 MB / 1.572 GB, free: 27.16 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.1319/2.015, allocations: 77.56 MB / 1.647 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/2.032, allocations: 10.61 MB / 1.658 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0137/2.046, allocations: 9.131 MB / 1.667 GB, free: 15.82 MB / 1.01 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.06392/2.11, allocations: 32.75 MB / 1.699 GB, free: 6.426 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01409/2.124, allocations: 8.852 MB / 1.707 GB, free: 492 kB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02822/2.152, allocations: 9.841 MB / 1.717 GB, free: 7.316 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 2.732e-05/2.152, allocations: 0 / 1.717 GB, free: 7.316 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.608/3.76, allocations: 197.6 MB / 1.91 GB, free: 0.4902 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/3.76, allocations: 113.4 kB / 1.91 GB, free: 0.4902 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01906/3.779, allocations: 13.02 MB / 1.923 GB, free: 495.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003157/3.782, allocations: 186.4 kB / 1.923 GB, free: 495.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006475/3.789, allocations: 6.596 MB / 1.929 GB, free: 490.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00425/3.793, allocations: 2.041 MB / 1.931 GB, free: 490.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002811/3.796, allocations: 155.7 kB / 1.931 GB, free: 490.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005082/3.797, allocations: 0.6215 MB / 1.932 GB, free: 489.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0172/3.814, allocations: 9.362 MB / 1.941 GB, free: 484.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0188/3.833, allocations: 11.87 MB / 1.953 GB, free: 476.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03537/3.868, allocations: 20.91 MB / 1.973 GB, free: 463.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.448e-05/3.868, allocations: 17.19 kB / 1.973 GB, free: 463.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5837/4.452, allocations: 124 MB / 2.094 GB, free: 340 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008887/4.453, allocations: 1.734 MB / 2.096 GB, free: 337.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.437e-05/4.453, allocations: 52 kB / 2.096 GB, free: 337.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6067/5.059, allocations: 143.5 MB / 2.236 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01069/5.07, allocations: 2.063 MB / 2.238 GB, free: 191.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1282/5.198, allocations: 78.76 MB / 2.315 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01727/5.216, allocations: 1.258 MB / 2.316 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002602/5.218, allocations: 0.7802 MB / 2.317 GB, free: 110.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/5.218, allocations: 4 kB / 2.317 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.024/6.243, allocations: 122.8 MB / 2.437 GB, free: 468.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/6.243, allocations: 52.34 kB / 2.437 GB, free: 468.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6138/6.857, allocations: 143.3 MB / 2.577 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/6.867, allocations: 2.049 MB / 2.579 GB, free: 391.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1626/7.03, allocations: 82.71 MB / 2.66 GB, free: 308.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01832/7.048, allocations: 1.245 MB / 2.661 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004164/7.052, allocations: 0.7529 MB / 2.662 GB, free: 306.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (769): * Single equations (assignments): 755 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01081/7.063, allocations: 3.329 MB / 2.665 GB, free: 303.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00498/7.068, allocations: 1.279 MB / 2.666 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1856/7.254, allocations: 49.31 MB / 2.714 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1754/7.429, allocations: 43.71 MB / 2.757 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-05/7.429, allocations: 0 / 2.757 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009867/7.439, allocations: 2.872 MB / 2.76 GB, free: 207.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004891/7.444, allocations: 120 kB / 2.76 GB, free: 207.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01353/7.458, allocations: 1.077 MB / 2.761 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004229/7.462, allocations: 0.8949 MB / 2.762 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05942/7.521, allocations: 23.17 MB / 2.784 GB, free: 182.6 MB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03957/7.561, allocations: 25.58 MB / 2.809 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01101/7.572, allocations: 7.975 MB / 2.817 GB, free: 149.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01278/7.585, allocations: 8.81 MB / 2.826 GB, free: 140.4 MB / 1.167 GB Notification: Performance of Backend: time 7.41e-07/7.585, allocations: 0 / 2.826 GB, free: 140.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.07712/7.662, allocations: 32.05 MB / 2.857 GB, free: 108.6 MB / 1.167 GB Notification: Performance of SimCode: time 0.05625/7.718, allocations: 35.07 MB / 2.891 GB, free: 73.62 MB / 1.167 GB Notification: Performance of Templates: time 1.056/8.774, allocations: 410.5 MB / 3.292 GB, free: 206.2 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)