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 2.762/2.762, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001304/0.001304, allocations: 182 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009587/0.0009589, allocations: 92.72 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004966, allocations: 15.88 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 1.261/1.471, allocations: 329.5 MB / 1.3 GB, free: 6.125 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1639/1.635, allocations: 72.94 MB / 1.371 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01683/1.652, allocations: 373.2 kB / 1.372 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01825/1.67, allocations: 3.56 MB / 1.375 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.04483/1.715, allocations: 10.35 MB / 1.385 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03083/1.746, allocations: 7.021 MB / 1.392 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.06929/1.815, allocations: 38.18 MB / 1.429 GB, free: 1.488 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 1.577/3.393, allocations: 14.93 MB / 1.444 GB, free: 49.09 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03806/3.431, allocations: 12.85 MB / 1.457 GB, free: 49.06 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03884/3.47, allocations: 13.51 MB / 1.47 GB, free: 49.02 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.009752/3.479, allocations: 0.9958 MB / 1.471 GB, free: 49.02 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02636/3.506, allocations: 3.779 MB / 1.474 GB, free: 48.95 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0122/3.518, allocations: 4.248 MB / 1.479 GB, free: 48.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01216/3.53, allocations: 2.942 MB / 1.481 GB, free: 48.92 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03659/3.567, allocations: 19.34 MB / 1.5 GB, free: 47.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/3.567, allocations: 1.219 kB / 1.5 GB, free: 47.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.956e-06/3.567, allocations: 0 / 1.5 GB, free: 47.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008511/3.568, allocations: 3.438 kB / 1.5 GB, free: 47.57 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.0741/3.642, allocations: 18.16 MB / 1.518 GB, free: 41.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/3.642, allocations: 15 kB / 1.518 GB, free: 41.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/3.659, allocations: 2.295 MB / 1.52 GB, free: 40.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04544/3.705, allocations: 13.4 MB / 1.533 GB, free: 35.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002114/3.707, allocations: 0.7306 MB / 1.534 GB, free: 35.65 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005701/3.713, allocations: 0.7916 MB / 1.535 GB, free: 35.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05071/3.764, allocations: 14.9 MB / 1.549 GB, free: 31.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004288/3.764, allocations: 16.12 kB / 1.549 GB, free: 31.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004648/3.769, allocations: 294.9 kB / 1.55 GB, free: 31.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002476/3.769, allocations: 185.7 kB / 1.55 GB, free: 31.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05108/3.82, allocations: 19.36 MB / 1.569 GB, free: 28.3 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.1908/4.011, allocations: 77.53 MB / 1.645 GB, free: 13.07 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02845/4.04, allocations: 10.62 MB / 1.655 GB, free: 7.176 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03359/4.073, allocations: 9.126 MB / 1.664 GB, free: 1.848 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.158/4.231, allocations: 32.75 MB / 1.696 GB, free: 8.414 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03168/4.263, allocations: 8.851 MB / 1.704 GB, free: 2.469 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05484/4.318, allocations: 9.832 MB / 1.714 GB, free: 9.312 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 3.758e-05/4.318, allocations: 4 kB / 1.714 GB, free: 9.309 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 2.671/6.989, allocations: 197.2 MB / 1.907 GB, free: 269.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/6.989, allocations: 113.9 kB / 1.907 GB, free: 269.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03512/7.024, allocations: 13.03 MB / 1.919 GB, free: 266.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004187/7.028, allocations: 186.6 kB / 1.92 GB, free: 266.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01055/7.039, allocations: 6.592 MB / 1.926 GB, free: 265.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005646/7.044, allocations: 2.044 MB / 1.928 GB, free: 265.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003901/7.048, allocations: 152.3 kB / 1.928 GB, free: 265.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007769/7.049, allocations: 0.6185 MB / 1.929 GB, free: 265.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03061/7.08, allocations: 9.363 MB / 1.938 GB, free: 263.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03299/7.113, allocations: 11.87 MB / 1.95 GB, free: 258.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03263/7.146, allocations: 10.27 MB / 1.96 GB, free: 256.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.787e-05/7.146, allocations: 15.53 kB / 1.96 GB, free: 256.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 1.27/8.416, allocations: 123.9 MB / 2.081 GB, free: 160.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/8.417, allocations: 1.74 MB / 2.082 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/8.417, allocations: 52 kB / 2.082 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367/9.784, allocations: 143.5 MB / 2.223 GB, free: 21.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02163/9.806, allocations: 2.07 MB / 2.225 GB, free: 20 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009/10.81, allocations: 78.77 MB / 2.301 GB, free: 0.4926 GB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03171/10.85, allocations: 1.247 MB / 2.303 GB, free: 0.4924 GB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00539/10.85, allocations: 0.7849 MB / 2.303 GB, free: 0.4924 GB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/10.85, allocations: 4.406 kB / 2.303 GB, free: 0.4924 GB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.459/12.31, allocations: 122.8 MB / 2.423 GB, free: 454.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/12.31, allocations: 52 kB / 2.423 GB, free: 454.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375/13.69, allocations: 143.3 MB / 2.563 GB, free: 311.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0192/13.71, allocations: 2.044 MB / 2.565 GB, free: 309.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3237/14.03, allocations: 82.72 MB / 2.646 GB, free: 226.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03684/14.07, allocations: 1.229 MB / 2.647 GB, free: 225 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005205/14.07, allocations: 0.7567 MB / 2.648 GB, free: 224.2 MB / 1.198 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.01544/14.09, allocations: 3.343 MB / 2.651 GB, free: 220.9 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006948/14.09, allocations: 1.277 MB / 2.653 GB, free: 220.3 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3683/14.46, allocations: 49.33 MB / 2.701 GB, free: 171.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/14.46, allocations: 72 kB / 2.701 GB, free: 171 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00016/14.46, allocations: 28 kB / 2.701 GB, free: 171 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3326/14.79, allocations: 43.69 MB / 2.744 GB, free: 127.2 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.3871/15.18, allocations: 64.22 MB / 2.806 GB, free: 63 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001131/15.18, allocations: 12.03 kB / 2.806 GB, free: 62.98 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01389/15.2, allocations: 1.396 MB / 2.808 GB, free: 61.59 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107/16.3, allocations: 42.75 MB / 2.849 GB, free: 499.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002668/16.31, allocations: 208.8 kB / 2.85 GB, free: 499.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1473/16.45, allocations: 35.56 MB / 2.884 GB, free: 490.8 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/16.45, allocations: 13.12 kB / 2.884 GB, free: 490.8 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4396/16.89, allocations: 56.39 MB / 2.939 GB, free: 477.3 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01194/16.91, allocations: 2.846 MB / 2.942 GB, free: 476.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006409/16.91, allocations: 133.7 kB / 2.942 GB, free: 476.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02795/16.94, allocations: 1.056 MB / 2.943 GB, free: 476.3 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005145/16.94, allocations: 0.4946 MB / 2.944 GB, free: 476.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002944/16.95, allocations: 292.5 kB / 2.944 GB, free: 476.2 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.02327/16.97, allocations: 8.807 MB / 2.953 GB, free: 473.3 MB / 1.198 GB Notification: Performance of sort global known variables: time 6.91e-07/16.97, allocations: 0 / 2.953 GB, free: 473.3 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.05935/17.03, allocations: 7.314 MB / 2.96 GB, free: 472.8 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (541): * Single equations (assignments): 519 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006459/17.04, allocations: 1.547 MB / 2.961 GB, free: 472.4 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.1425/17.18, allocations: 37.71 MB / 2.998 GB, free: 444.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/17.18, allocations: 4 kB / 2.998 GB, free: 444.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.03958/17.22, allocations: 10.67 MB / 3.009 GB, free: 435.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06195/17.28, allocations: 6.94 MB / 3.015 GB, free: 430.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0875/17.37, allocations: 33.1 MB / 3.048 GB, free: 401.2 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02085/17.39, allocations: 7.537 MB / 3.055 GB, free: 395.1 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.04541/17.44, allocations: 4.061 MB / 3.059 GB, free: 391 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/17.45, allocations: 1.042 MB / 3.06 GB, free: 390 MB / 1.198 GB Notification: Performance of SimCode: time 2.184e-06/17.45, allocations: 0 / 3.06 GB, free: 390 MB / 1.198 GB Notification: Performance of Templates: time 1.641/19.09, allocations: 401.5 MB / 3.452 GB, free: 0.4945 GB / 1.198 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)