Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 180.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008964, allocations: 107.2 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.273e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3442, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/1.666, allocations: 461.4 MB / 1.657 GB, free: 9.66 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.667, allocations: 92.7 kB / 1.657 GB, free: 9.617 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 28.29/29.96, allocations: 6.453 GB / 8.109 GB, free: 113.3 MB / 1.401 GB Notification: Performance of FrontEnd: time 1.633e-06/29.96, allocations: 3.625 kB / 8.109 GB, free: 113.3 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.003792/29.96, allocations: 445.3 kB / 8.11 GB, free: 113.3 MB / 1.401 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.05673/30.02, allocations: 13.5 MB / 8.123 GB, free: 107.5 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/30.02, allocations: 11 kB / 8.123 GB, free: 107.5 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/30.04, allocations: 2.549 MB / 8.125 GB, free: 106.5 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07644/30.11, allocations: 21.75 MB / 8.147 GB, free: 104 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007432/30.11, allocations: 250.6 kB / 8.147 GB, free: 104 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006095/30.12, allocations: 0.5934 MB / 8.147 GB, free: 103.9 MB / 1.401 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03983/30.16, allocations: 19.89 MB / 8.167 GB, free: 103.9 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05264/30.21, allocations: 14.6 MB / 8.181 GB, free: 103.1 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007048/30.21, allocations: 17.66 kB / 8.181 GB, free: 103.1 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004666/30.22, allocations: 9.031 kB / 8.181 GB, free: 103.1 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004345/30.22, allocations: 369.6 kB / 8.181 GB, free: 103.1 MB / 1.401 GB Warning: The model contains alias variables with conflicting start and/or 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.1604/30.38, allocations: 77.62 MB / 8.257 GB, free: 70.88 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02171/30.4, allocations: 13.48 MB / 8.27 GB, free: 70.41 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01518/30.42, allocations: 9.996 MB / 8.28 GB, free: 70.28 MB / 1.401 GB Warning: The model contains alias variables with conflicting start and/or 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.08834/30.5, allocations: 34.35 MB / 8.314 GB, free: 58.7 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01878/30.52, allocations: 9.357 MB / 8.323 GB, free: 55.35 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04783/30.57, allocations: 14.92 MB / 8.337 GB, free: 53.96 MB / 1.401 GB Notification: Performance of pre-optimization done (n=638): time 9.088e-05/30.57, allocations: 0 / 8.337 GB, free: 53.96 MB / 1.401 GB Notification: Performance of matching and sorting (n=640): time 2.033/32.6, allocations: 140.9 MB / 8.475 GB, free: 127.5 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/32.6, allocations: 121 kB / 8.475 GB, free: 127.4 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04897/32.65, allocations: 13.35 MB / 8.488 GB, free: 126.7 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.005969/32.66, allocations: 42.61 kB / 8.488 GB, free: 126.7 MB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01726/32.68, allocations: 7.181 MB / 8.495 GB, free: 126.4 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.007082/32.68, allocations: 2.183 MB / 8.497 GB, free: 126.3 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004568/32.69, allocations: 0.8438 kB / 8.497 GB, free: 126.3 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.00119/32.69, allocations: 0.6488 MB / 8.498 GB, free: 125.9 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01732/32.71, allocations: 8.18 MB / 8.506 GB, free: 125.9 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01988/32.73, allocations: 10.98 MB / 8.517 GB, free: 122.8 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02307/32.75, allocations: 9.519 MB / 8.526 GB, free: 122.7 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/32.75, allocations: 13.03 kB / 8.526 GB, free: 122.7 MB / 1.417 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.6193/33.37, allocations: 124.3 MB / 8.647 GB, free: 120.9 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 0.006594/33.38, allocations: 31.9 MB / 8.678 GB, free: 87.36 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002399/33.38, allocations: 48.59 kB / 8.679 GB, free: 87.36 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6351/34.01, allocations: 144.6 MB / 8.82 GB, free: 84.91 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01372/34.03, allocations: 2.594 MB / 8.822 GB, free: 84.9 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1404/34.17, allocations: 68.77 MB / 8.889 GB, free: 41.86 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02387/34.19, allocations: 1.054 MB / 8.89 GB, free: 40.85 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00541/34.2, allocations: 0.7892 MB / 8.891 GB, free: 40.12 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/34.2, allocations: 4 kB / 8.891 GB, free: 40.12 MB / 1.417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.852/36.05, allocations: 121.3 MB / 9.01 GB, free: 152.6 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002533/36.05, allocations: 46.84 kB / 9.01 GB, free: 152.6 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6668/36.71, allocations: 144.5 MB / 9.151 GB, free: 152.6 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/36.73, allocations: 2.562 MB / 9.153 GB, free: 152.6 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1468/36.87, allocations: 73.29 MB / 9.225 GB, free: 149.7 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02292/36.9, allocations: 1.038 MB / 9.226 GB, free: 149.7 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005133/36.9, allocations: 0.7459 MB / 9.227 GB, free: 149.7 MB / 1.464 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,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 843 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {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: 1 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.00899/36.91, allocations: 308.2 kB / 9.227 GB, free: 149.6 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007826/36.92, allocations: 1.402 MB / 9.228 GB, free: 149.6 MB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1945/37.11, allocations: 44.78 MB / 9.272 GB, free: 148.6 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001622/37.11, allocations: 71.94 kB / 9.272 GB, free: 148.6 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/37.11, allocations: 30.72 kB / 9.272 GB, free: 148.6 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1679/37.28, allocations: 39.55 MB / 9.311 GB, free: 147.7 MB / 1.464 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2296/37.51, allocations: 60.14 MB / 9.369 GB, free: 136 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001125/37.51, allocations: 4 kB / 9.369 GB, free: 136 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008445/37.52, allocations: 1.169 MB / 9.371 GB, free: 135.2 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1812/37.7, allocations: 41.81 MB / 9.411 GB, free: 99.16 MB / 1.464 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00284/37.7, allocations: 157.3 kB / 9.412 GB, free: 99.04 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05532/37.76, allocations: 28.72 MB / 9.44 GB, free: 79.36 MB / 1.464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/37.76, allocations: 0 / 9.44 GB, free: 79.36 MB / 1.464 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1822/37.94, allocations: 50.36 MB / 9.489 GB, free: 39.68 MB / 1.464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01497/37.96, allocations: 3.335 MB / 9.492 GB, free: 37.13 MB / 1.464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008524/37.97, allocations: 74.86 kB / 9.492 GB, free: 37.07 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01898/37.98, allocations: 0.8901 MB / 9.493 GB, free: 36.22 MB / 1.464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003648/37.99, allocations: 457.5 kB / 9.493 GB, free: 35.83 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002642/37.99, allocations: 276.3 kB / 9.494 GB, free: 35.61 MB / 1.464 GB Notification: Performance of sorting global known variables: time 0.02612/38.02, allocations: 10.05 MB / 9.504 GB, free: 28.96 MB / 1.464 GB Notification: Performance of sort global known variables: time 5.81e-07/38.02, allocations: 8 kB / 9.504 GB, free: 28.95 MB / 1.464 GB Notification: Performance of remove unused functions: time 0.05541/38.07, allocations: 7.866 MB / 9.511 GB, free: 21.57 MB / 1.464 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpSouth.filter.s[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],pmpNorth.filter.s[2],valSouth1[1].filter.s[1],valSouth1[1].filter.s[2],valSouth1[2].filter.s[1],valSouth1[2].filter.s[2],valSouth1[3].filter.s[1],valSouth1[3].filter.s[2],valSouth1[4].filter.s[1],valSouth1[4].filter.s[2],valSouth2[1].filter.s[1],valSouth2[1].filter.s[2],valSouth2[2].filter.s[1],valSouth2[2].filter.s[2],valSouth2[3].filter.s[1],valSouth2[3].filter.s[2],valSouth2[4].filter.s[1],valSouth2[4].filter.s[2],valSouth2[5].filter.s[1],valSouth2[5].filter.s[2],valSouth2[6].filter.s[1],valSouth2[6].filter.s[2],valSouth2[7].filter.s[1],valSouth2[7].filter.s[2],valSouth2[8].filter.s[1],valSouth2[8].filter.s[2],valNorth1[1].filter.s[1],valNorth1[1].filter.s[2],valNorth1[2].filter.s[1],valNorth1[2].filter.s[2],valNorth1[3].filter.s[1],valNorth1[3].filter.s[2],valNorth1[4].filter.s[1],valNorth1[4].filter.s[2],valNorth2[1].filter.s[1],valNorth2[1].filter.s[2],valNorth2[2].filter.s[1],valNorth2[2].filter.s[2],valNorth2[3].filter.s[1],valNorth2[3].filter.s[2],valNorth2[4].filter.s[1],valNorth2[4].filter.s[2],valNorth2[5].filter.s[1],valNorth2[5].filter.s[2],valNorth2[6].filter.s[1],valNorth2[6].filter.s[2],valNorth2[7].filter.s[1],valNorth2[7].filter.s[2],valNorth2[8].filter.s[1],valNorth2[8].filter.s[2],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],pumpHea.filter.s[2],valHea.filter.s[1],valHea.filter.s[2],valCoo.filter.s[1],valCoo.filter.s[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],pumpCoo.filter.s[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (535): * Single equations (assignments): 513 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {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: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/38.08, allocations: 5.223 MB / 9.516 GB, free: 16.8 MB / 1.464 GB Notification: Performance of simCode: created initialization part: time 1.386/39.47, allocations: 33.98 MB / 9.55 GB, free: 166.5 MB / 1.464 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/39.47, allocations: 2.656 kB / 9.55 GB, free: 166.5 MB / 1.464 GB Notification: Performance of simCode: created simulation system equations: time 0.01983/39.49, allocations: 8.926 MB / 9.558 GB, free: 166.2 MB / 1.464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04721/39.54, allocations: 7.139 MB / 9.565 GB, free: 166.1 MB / 1.464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07384/39.61, allocations: 26.62 MB / 9.591 GB, free: 160.9 MB / 1.464 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02038/39.63, allocations: 8.572 MB / 9.6 GB, free: 159.8 MB / 1.464 GB Notification: Performance of simCode: alias equations: time 0.04548/39.68, allocations: 7.895 MB / 9.607 GB, free: 159.7 MB / 1.464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004797/39.68, allocations: 0.7866 MB / 9.608 GB, free: 159.7 MB / 1.464 GB Notification: Performance of SimCode: time 1.764e-06/39.68, allocations: 0 / 9.608 GB, free: 159.7 MB / 1.464 GB Notification: Performance of Templates: time 0.6876/40.37, allocations: 422.8 MB / 10.02 GB, free: 10.36 MB / 1.479 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)