Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.595/1.595, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.0009492/0.0009493, allocations: 182.7 kB / 371.8 MB, free: 10.82 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.331/1.331, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0007441/0.000744, allocations: 89.55 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 13.02 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1782, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.6626/0.8408, allocations: 329.6 MB / 1.301 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.09492/0.9357, allocations: 72.94 MB / 1.372 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01375/0.9495, allocations: 373.2 kB / 1.373 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.9619, allocations: 3.14 MB / 1.376 GB, free: 9.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03112/0.993, allocations: 8.84 MB / 1.384 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0181/1.011, allocations: 6.018 MB / 1.39 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0377/1.049, allocations: 33 MB / 1.423 GB, free: 9.398 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9285/1.977, allocations: 15 MB / 1.437 GB, free: 50.42 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0271/2.005, allocations: 11.83 MB / 1.449 GB, free: 50.42 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02615/2.031, allocations: 12.54 MB / 1.461 GB, free: 50.39 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007009/2.038, allocations: 0.9652 MB / 1.462 GB, free: 50.39 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/2.055, allocations: 3.337 MB / 1.465 GB, free: 50.38 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.008738/2.064, allocations: 4.021 MB / 1.469 GB, free: 50.38 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.00867/2.072, allocations: 2.633 MB / 1.472 GB, free: 50.35 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02123/2.094, allocations: 17.47 MB / 1.489 GB, free: 49.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/2.094, allocations: 0 / 1.489 GB, free: 49.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/2.094, allocations: 0 / 1.489 GB, free: 49.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007015/2.094, allocations: 0 / 1.489 GB, free: 49.23 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04169/2.136, allocations: 16.95 MB / 1.505 GB, free: 43.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/2.136, allocations: 17.81 kB / 1.505 GB, free: 43.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/2.147, allocations: 2.366 MB / 1.508 GB, free: 42.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02443/2.172, allocations: 12.6 MB / 1.52 GB, free: 40.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001538/2.173, allocations: 0.7856 MB / 1.521 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/2.177, allocations: 0.6842 MB / 1.521 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02906/2.206, allocations: 14.02 MB / 1.535 GB, free: 36.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/2.206, allocations: 6.781 kB / 1.535 GB, free: 36.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/2.207, allocations: 250.5 kB / 1.535 GB, free: 36.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/2.207, allocations: 159.8 kB / 1.535 GB, free: 36.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/2.24, allocations: 19.01 MB / 1.554 GB, free: 33.87 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.1173/2.357, allocations: 73.43 MB / 1.626 GB, free: 11.19 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/2.374, allocations: 10.62 MB / 1.636 GB, free: 5.215 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01355/2.387, allocations: 9.136 MB / 1.645 GB, free: 15.85 MB / 0.9949 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.06239/2.45, allocations: 31.89 MB / 1.676 GB, free: 7.172 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01284/2.463, allocations: 8.886 MB / 1.685 GB, free: 1.16 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02794/2.491, allocations: 9.952 MB / 1.695 GB, free: 7.898 MB / 1.026 GB Notification: Performance of pre-optimization done (n=387): time 2.164e-05/2.491, allocations: 0 / 1.695 GB, free: 7.898 MB / 1.026 GB Notification: Performance of matching and sorting (n=573): time 1.401/3.892, allocations: 220.1 MB / 1.909 GB, free: 0.4915 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/3.892, allocations: 114.2 kB / 1.91 GB, free: 0.4914 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01551/3.907, allocations: 12.28 MB / 1.922 GB, free: 497.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002911/3.91, allocations: 171.3 kB / 1.922 GB, free: 497 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004399/3.915, allocations: 5.957 MB / 1.928 GB, free: 492.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003437/3.918, allocations: 1.928 MB / 1.929 GB, free: 492.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/3.919, allocations: 146.1 kB / 1.93 GB, free: 492.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002703/3.92, allocations: 0.5948 MB / 1.93 GB, free: 491.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01556/3.935, allocations: 9.383 MB / 1.939 GB, free: 486.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01697/3.952, allocations: 11.72 MB / 1.951 GB, free: 478.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03411/3.986, allocations: 20.7 MB / 1.971 GB, free: 466 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.456e-05/3.986, allocations: 14.16 kB / 1.971 GB, free: 466 MB / 1.167 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6597/4.646, allocations: 139.3 MB / 2.107 GB, free: 327.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005636/4.647, allocations: 1.535 MB / 2.109 GB, free: 325.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.653e-05/4.647, allocations: 54.48 kB / 2.109 GB, free: 325.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7206/5.367, allocations: 166.1 MB / 2.271 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/5.378, allocations: 1.946 MB / 2.273 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1625/5.54, allocations: 95.45 MB / 2.366 GB, free: 60.99 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01793/5.558, allocations: 1.199 MB / 2.367 GB, free: 59.81 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004474/5.563, allocations: 0.774 MB / 2.368 GB, free: 59.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/5.563, allocations: 9.547 kB / 2.368 GB, free: 59.03 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.114/6.677, allocations: 138.2 MB / 2.503 GB, free: 463.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/6.677, allocations: 48.7 kB / 2.503 GB, free: 463.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7143/7.391, allocations: 165.8 MB / 2.665 GB, free: 310.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009335/7.401, allocations: 1.931 MB / 2.667 GB, free: 308.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1674/7.568, allocations: 99.53 MB / 2.764 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01801/7.586, allocations: 1.2 MB / 2.765 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004486/7.591, allocations: 0.7411 MB / 2.766 GB, free: 206.9 MB / 1.167 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 (683): * Single equations (assignments): 669 * 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 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01016/7.601, allocations: 3.076 MB / 2.769 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003449/7.604, allocations: 1.189 MB / 2.77 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2129/7.817, allocations: 53.54 MB / 2.822 GB, free: 149.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1906/8.008, allocations: 47.99 MB / 2.869 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.254e-05/8.008, allocations: 0 / 2.869 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008213/8.016, allocations: 2.703 MB / 2.872 GB, free: 99.68 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003461/8.02, allocations: 128 kB / 2.872 GB, free: 99.55 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01173/8.031, allocations: 1.038 MB / 2.873 GB, free: 98.55 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003865/8.035, allocations: 0.9375 MB / 2.874 GB, free: 97.61 MB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05957/8.095, allocations: 23.64 MB / 2.897 GB, free: 74.25 MB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0486/8.143, allocations: 25.47 MB / 2.922 GB, free: 48.74 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01533/8.159, allocations: 7.993 MB / 2.93 GB, free: 40.73 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01692/8.176, allocations: 8.319 MB / 2.938 GB, free: 32.45 MB / 1.167 GB Notification: Performance of Backend: time 1.322e-06/8.176, allocations: 0 / 2.938 GB, free: 32.45 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.4682/8.644, allocations: 32.33 MB / 2.969 GB, free: 0.4892 GB / 1.167 GB Notification: Performance of SimCode: time 0.06195/8.706, allocations: 32.35 MB / 3.001 GB, free: 487.9 MB / 1.167 GB Notification: Performance of Templates: time 0.5013/9.207, allocations: 396.8 MB / 3.388 GB, free: 134.5 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)