Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 185.8 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006568/0.0006569, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7424, allocations: 142.4 MB / 0.9557 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.9845/1.727, allocations: 348.2 MB / 1.296 GB, free: 59.11 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.09323/1.82, allocations: 72.36 MB / 1.366 GB, free: 57.88 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01862/1.839, allocations: 379.8 kB / 1.367 GB, free: 57.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01358/1.852, allocations: 3.867 MB / 1.371 GB, free: 57.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03642/1.889, allocations: 10.29 MB / 1.381 GB, free: 51.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01863/1.908, allocations: 7.182 MB / 1.388 GB, free: 47.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04267/1.95, allocations: 38.32 MB / 1.425 GB, free: 21.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02472/1.975, allocations: 14.06 MB / 1.439 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02765/2.003, allocations: 10.66 MB / 1.449 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02204/2.025, allocations: 9.493 MB / 1.458 GB, free: 5.043 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.005093/2.03, allocations: 0.4922 MB / 1.459 GB, free: 4.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/2.047, allocations: 3.631 MB / 1.462 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006947/2.054, allocations: 2.971 MB / 1.465 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01849/2.072, allocations: 6.677 MB / 1.472 GB, free: 7.574 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02467/2.097, allocations: 14.64 MB / 1.486 GB, free: 9.555 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/2.097, allocations: 0 / 1.486 GB, free: 9.555 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.737e-06/2.097, allocations: 0 / 1.486 GB, free: 9.555 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0007827/2.098, allocations: 0 / 1.486 GB, free: 9.555 MB / 1.045 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.03535/2.133, allocations: 13.76 MB / 1.5 GB, free: 11.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/2.133, allocations: 12.03 kB / 1.5 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/2.146, allocations: 2.574 MB / 1.502 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02947/2.176, allocations: 11.77 MB / 1.514 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001829/2.178, allocations: 0.7755 MB / 1.514 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/2.18, allocations: 0.6797 MB / 1.515 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/2.204, allocations: 9.11 MB / 1.524 GB, free: 2.797 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/2.204, allocations: 15.81 kB / 1.524 GB, free: 2.781 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/2.206, allocations: 252 kB / 1.524 GB, free: 2.535 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/2.206, allocations: 160 kB / 1.524 GB, free: 2.379 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/2.228, allocations: 7.647 MB / 1.532 GB, free: 10.72 MB / 1.092 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.09554/2.324, allocations: 50.78 MB / 1.581 GB, free: 4.801 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/2.337, allocations: 5.743 MB / 1.587 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008988/2.346, allocations: 4.043 MB / 1.591 GB, free: 11.25 MB / 1.154 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.0392/2.386, allocations: 13.53 MB / 1.604 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008788/2.394, allocations: 3.835 MB / 1.608 GB, free: 9.691 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01097/2.405, allocations: 1.864 MB / 1.61 GB, free: 7.828 MB / 1.17 GB Notification: Performance of pre-optimization done (n=320): time 1.923e-05/2.405, allocations: 0 / 1.61 GB, free: 7.828 MB / 1.17 GB Notification: Performance of matching and sorting (n=506): time 0.1982/2.604, allocations: 54.52 MB / 1.663 GB, free: 460 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/2.604, allocations: 103.4 kB / 1.663 GB, free: 344 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02502/2.629, allocations: 12.8 MB / 1.676 GB, free: 3.602 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001859/2.631, allocations: 159.8 kB / 1.676 GB, free: 3.441 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.007829/2.639, allocations: 6.167 MB / 1.682 GB, free: 13.34 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002992/2.642, allocations: 1.712 MB / 1.683 GB, free: 11.64 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/2.643, allocations: 0.6704 MB / 1.684 GB, free: 10.96 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001032/2.643, allocations: 305.1 kB / 1.684 GB, free: 10.66 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/2.656, allocations: 5.951 MB / 1.69 GB, free: 4.707 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01637/2.672, allocations: 8.547 MB / 1.699 GB, free: 11.06 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02914/2.701, allocations: 13.82 MB / 1.712 GB, free: 12.35 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-05/2.702, allocations: 16 kB / 1.712 GB, free: 12.34 MB / 1.279 GB Notification: Performance of matching and sorting (n=953) (initialization): time 1.185/3.886, allocations: 18.93 MB / 1.731 GB, free: 0.507 GB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.001166/3.887, allocations: 1.937 MB / 1.732 GB, free: 0.5047 GB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/3.888, allocations: 58.78 kB / 1.733 GB, free: 0.5047 GB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01798/3.906, allocations: 4.799 MB / 1.737 GB, free: 0.5046 GB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/3.918, allocations: 2.07 MB / 1.739 GB, free: 0.5046 GB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/3.931, allocations: 10.92 MB / 1.75 GB, free: 0.499 GB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01616/3.947, allocations: 1.238 MB / 1.751 GB, free: 0.4989 GB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002538/3.95, allocations: 473.2 kB / 1.752 GB, free: 0.4988 GB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/3.95, allocations: 2.812 kB / 1.752 GB, free: 0.4988 GB / 1.279 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03734/3.987, allocations: 16.35 MB / 1.768 GB, free: 0.4933 GB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003016/3.988, allocations: 63.19 kB / 1.768 GB, free: 0.4933 GB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/4, allocations: 4.364 MB / 1.772 GB, free: 0.4918 GB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009911/4.01, allocations: 2.056 MB / 1.774 GB, free: 0.4912 GB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/4.03, allocations: 15.44 MB / 1.789 GB, free: 492.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/4.045, allocations: 1.227 MB / 1.79 GB, free: 492.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00215/4.047, allocations: 440.6 kB / 1.791 GB, free: 492.3 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.007563/4.055, allocations: 3.131 MB / 1.794 GB, free: 490.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00323/4.058, allocations: 1.208 MB / 1.795 GB, free: 490.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03436/4.092, allocations: 15.19 MB / 1.81 GB, free: 476.6 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.944e-05/4.092, allocations: 63.98 kB / 1.81 GB, free: 476.6 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/4.092, allocations: 7.938 kB / 1.81 GB, free: 476.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02794/4.12, allocations: 12.51 MB / 1.822 GB, free: 464 MB / 1.279 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.06028/4.181, allocations: 26.66 MB / 1.848 GB, free: 437.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.659e-05/4.181, allocations: 12 kB / 1.848 GB, free: 437.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006896/4.188, allocations: 1.276 MB / 1.849 GB, free: 435.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009619/4.197, allocations: 3.297 MB / 1.852 GB, free: 432.6 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001242/4.199, allocations: 171.9 kB / 1.853 GB, free: 432.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008251/4.207, allocations: 9.592 MB / 1.862 GB, free: 422.7 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/4.207, allocations: 20.02 kB / 1.862 GB, free: 422.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04138/4.248, allocations: 20.56 MB / 1.882 GB, free: 402.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007389/4.256, allocations: 2.343 MB / 1.884 GB, free: 400.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004039/4.26, allocations: 104 kB / 1.884 GB, free: 400.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01236/4.272, allocations: 1.067 MB / 1.885 GB, free: 399.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001446/4.274, allocations: 395.8 kB / 1.886 GB, free: 399 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006596/4.274, allocations: 247.8 kB / 1.886 GB, free: 398.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01552/4.29, allocations: 8.677 MB / 1.895 GB, free: 390.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.31e-07/4.29, allocations: 0 / 1.895 GB, free: 390.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.03246/4.322, allocations: 5.44 MB / 1.9 GB, free: 384.8 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(9,78), (1,1), (8,77)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003643/4.326, allocations: 1.295 MB / 1.901 GB, free: 383.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.04616/4.372, allocations: 20.96 MB / 1.922 GB, free: 362.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/4.372, allocations: 4 kB / 1.922 GB, free: 362.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0131/4.385, allocations: 5.785 MB / 1.927 GB, free: 356.9 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.051/4.436, allocations: 5.933 MB / 1.933 GB, free: 351.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04973/4.486, allocations: 29.77 MB / 1.962 GB, free: 321.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009026/4.495, allocations: 6.75 MB / 1.969 GB, free: 314.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00481/4.5, allocations: 0.9755 MB / 1.97 GB, free: 313.4 MB / 1.279 GB Notification: Performance of SimCode: time 1.303e-06/4.5, allocations: 0 / 1.97 GB, free: 313.4 MB / 1.279 GB Notification: Performance of Templates: time 1.37/5.871, allocations: 0.666 GB / 2.636 GB, free: 164.1 MB / 1.279 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)