Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.108/2.108, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 184.5 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009277/0.0009276, allocations: 103.8 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006821/0.0006824, allocations: 15.56 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2585, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 1.16/1.419, allocations: 329.4 MB / 1.221 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1587/1.577, allocations: 72.83 MB / 1.292 GB, free: 11.25 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01641/1.594, allocations: 373.2 kB / 1.293 GB, free: 10.88 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.01938/1.613, allocations: 3.964 MB / 1.297 GB, free: 6.891 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.04491/1.658, allocations: 10.65 MB / 1.307 GB, free: 12.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.04016/1.698, allocations: 9.636 MB / 1.316 GB, free: 2.684 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.07289/1.771, allocations: 42.97 MB / 1.358 GB, free: 7.586 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03878/1.81, allocations: 17.01 MB / 1.375 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04054/1.851, allocations: 14.04 MB / 1.389 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.523/3.373, allocations: 14.68 MB / 1.403 GB, free: 35.88 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.009583/3.383, allocations: 1.072 MB / 1.404 GB, free: 35.88 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02349/3.407, allocations: 3.739 MB / 1.408 GB, free: 35.88 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.01277/3.419, allocations: 4.921 MB / 1.412 GB, free: 35.88 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.0112/3.431, allocations: 3.382 MB / 1.416 GB, free: 35.85 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03948/3.47, allocations: 22.24 MB / 1.438 GB, free: 35.02 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/3.47, allocations: 0 / 1.438 GB, free: 35.02 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.595e-06/3.47, allocations: 0 / 1.438 GB, free: 35.02 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.001013/3.471, allocations: 2.812 kB / 1.438 GB, free: 35.02 MB / 0.9012 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.08269/3.554, allocations: 20.68 MB / 1.458 GB, free: 27.74 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/3.554, allocations: 9.125 kB / 1.458 GB, free: 27.74 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/3.571, allocations: 2.385 MB / 1.46 GB, free: 26.73 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05099/3.622, allocations: 15.11 MB / 1.475 GB, free: 24.6 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/3.623, allocations: 0.7309 MB / 1.476 GB, free: 24.58 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009705/3.633, allocations: 1.011 MB / 1.476 GB, free: 24.56 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08469/3.718, allocations: 17.33 MB / 1.493 GB, free: 22.76 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007429/3.719, allocations: 10.25 kB / 1.493 GB, free: 22.76 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007536/3.726, allocations: 349.1 kB / 1.494 GB, free: 22.76 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004041/3.727, allocations: 214.8 kB / 1.494 GB, free: 22.75 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08054/3.807, allocations: 20.6 MB / 1.514 GB, free: 19.73 MB / 0.9012 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.2195/4.027, allocations: 81.38 MB / 1.594 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03438/4.061, allocations: 12.93 MB / 1.606 GB, free: 6.879 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02529/4.086, allocations: 9.98 MB / 1.616 GB, free: 1.062 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 evalFunc (simulation): time 0.1255/4.212, allocations: 36.04 MB / 1.651 GB, free: 5.375 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02933/4.241, allocations: 9.952 MB / 1.661 GB, free: 14.62 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05676/4.298, allocations: 10.01 MB / 1.671 GB, free: 5.332 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=600): time 4.133e-05/4.298, allocations: 0 / 1.671 GB, free: 5.332 MB / 0.9949 GB Notification: Performance of matching and sorting (n=852): time 3.682/7.98, allocations: 215.2 MB / 1.881 GB, free: 240.7 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006207/7.981, allocations: 2.589 MB / 1.883 GB, free: 237.7 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03751/8.018, allocations: 15.39 MB / 1.898 GB, free: 234.1 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.004989/8.023, allocations: 268 kB / 1.899 GB, free: 234 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01176/8.035, allocations: 7.754 MB / 1.906 GB, free: 232 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.007044/8.042, allocations: 2.956 MB / 1.909 GB, free: 231.1 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004452/8.047, allocations: 210.6 kB / 1.909 GB, free: 231.1 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0009559/8.048, allocations: 0.7585 MB / 1.91 GB, free: 230.5 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03146/8.079, allocations: 11.05 MB / 1.921 GB, free: 223.3 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03515/8.114, allocations: 14.55 MB / 1.935 GB, free: 211.6 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03567/8.15, allocations: 12.38 MB / 1.947 GB, free: 203.9 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.402e-05/8.15, allocations: 12 kB / 1.947 GB, free: 203.9 MB / 1.104 GB Notification: Performance of matching and sorting (n=1440) (initialization): time 1.276/9.426, allocations: 130.1 MB / 2.074 GB, free: 88.92 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008909/9.427, allocations: 1.57 MB / 2.076 GB, free: 86.87 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002864/9.427, allocations: 95.92 kB / 2.076 GB, free: 86.78 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007/11.43, allocations: 149.9 MB / 2.222 GB, free: 487.1 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02369/11.46, allocations: 2.424 MB / 2.225 GB, free: 487.1 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2777/11.74, allocations: 83.81 MB / 2.306 GB, free: 457.8 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03235/11.77, allocations: 1.256 MB / 2.308 GB, free: 456.7 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005805/11.77, allocations: 0.8704 MB / 2.309 GB, free: 455.9 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/11.77, allocations: 4 kB / 2.309 GB, free: 455.8 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.26/13.03, allocations: 128.3 MB / 2.434 GB, free: 327.9 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003651/13.03, allocations: 94.12 kB / 2.434 GB, free: 327.8 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35/14.38, allocations: 150 MB / 2.58 GB, free: 177.5 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02078/14.4, allocations: 2.39 MB / 2.583 GB, free: 175.2 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2906/14.7, allocations: 90.11 MB / 2.671 GB, free: 85.2 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03077/14.73, allocations: 1.226 MB / 2.672 GB, free: 84.04 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005433/14.73, allocations: 0.8316 MB / 2.673 GB, free: 83.21 MB / 1.136 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.01737/14.75, allocations: 4.271 MB / 2.677 GB, free: 78.96 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006863/14.76, allocations: 1.56 MB / 2.678 GB, free: 78.23 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3529/15.11, allocations: 54.27 MB / 2.731 GB, free: 24.02 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9757/16.08, allocations: 48.08 MB / 2.778 GB, free: 478.2 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.725e-05/16.08, allocations: 0 / 2.778 GB, free: 478.2 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01469/16.1, allocations: 3.487 MB / 2.782 GB, free: 478.1 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007648/16.11, allocations: 290.4 kB / 2.782 GB, free: 478.1 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0245/16.13, allocations: 1.062 MB / 2.783 GB, free: 478.1 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00812/16.14, allocations: 1.2 MB / 2.784 GB, free: 478.1 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1275/16.27, allocations: 29.2 MB / 2.813 GB, free: 472.9 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.09061/16.36, allocations: 30.89 MB / 2.843 GB, free: 460.2 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0255/16.38, allocations: 9.657 MB / 2.852 GB, free: 452.4 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.02485/16.41, allocations: 10.44 MB / 2.863 GB, free: 444 MB / 1.136 GB Notification: Performance of Backend: time 7.42e-07/16.41, allocations: 0 / 2.863 GB, free: 444 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.1536/16.56, allocations: 40.18 MB / 2.902 GB, free: 408.7 MB / 1.136 GB Notification: Performance of SimCode: time 0.1113/16.67, allocations: 45.22 MB / 2.946 GB, free: 364.4 MB / 1.136 GB Notification: Performance of Templates: time 1.664/18.34, allocations: 470.8 MB / 3.406 GB, free: 422.7 MB / 1.136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)