Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 285.4 MB / 298 MB, free: 5.938 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.001119/0.001119, allocations: 180.8 kB / 366.4 MB, free: 2.094 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.687/1.687, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009449/0.0009447, allocations: 91.38 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.713e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/0.9228, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/2.094, allocations: 464.1 MB / 1.424 GB, free: 92.04 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/2.094, allocations: 90.36 kB / 1.424 GB, free: 92 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 38.73/40.82, allocations: 8.698 GB / 10.12 GB, free: 100.8 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.883e-06/40.82, allocations: 1.062 kB / 10.12 GB, free: 100.8 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003899/40.83, allocations: 0.5129 MB / 10.12 GB, free: 100.7 MB / 1.214 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.05597/40.88, allocations: 14.15 MB / 10.14 GB, free: 94.89 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/40.88, allocations: 9.219 kB / 10.14 GB, free: 94.89 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02021/40.9, allocations: 2.305 MB / 10.14 GB, free: 93.88 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08544/40.99, allocations: 23.25 MB / 10.16 GB, free: 91.29 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/40.99, allocations: 0.7146 MB / 10.16 GB, free: 91.27 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006124/41, allocations: 1.023 MB / 10.16 GB, free: 91.25 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04677/41.04, allocations: 16.62 MB / 10.18 GB, free: 89.4 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007411/41.04, allocations: 16.94 kB / 10.18 GB, free: 89.39 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004863/41.05, allocations: 357.6 kB / 10.18 GB, free: 89.39 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002786/41.05, allocations: 215.8 kB / 10.18 GB, free: 89.39 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03647/41.09, allocations: 19.47 MB / 10.2 GB, free: 89.33 MB / 1.214 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.1543/41.24, allocations: 79.34 MB / 10.28 GB, free: 55.82 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/41.26, allocations: 11.69 MB / 10.29 GB, free: 55.38 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01716/41.28, allocations: 8.974 MB / 10.3 GB, free: 55.32 MB / 1.214 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.07628/41.36, allocations: 33.25 MB / 10.33 GB, free: 46.62 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01575/41.37, allocations: 9.148 MB / 10.34 GB, free: 46.45 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04714/41.42, allocations: 15.14 MB / 10.35 GB, free: 45.84 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 7.716e-05/41.42, allocations: 0 / 10.35 GB, free: 45.84 MB / 1.214 GB Notification: Performance of matching and sorting (n=812): time 0.8064/42.23, allocations: 171 MB / 10.52 GB, free: 13.03 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006096/42.23, allocations: 2.53 MB / 10.52 GB, free: 9.922 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04258/42.27, allocations: 15.06 MB / 10.54 GB, free: 13.68 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006311/42.28, allocations: 263.2 kB / 10.54 GB, free: 13.43 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01451/42.29, allocations: 7.907 MB / 10.55 GB, free: 6.211 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.006803/42.3, allocations: 2.826 MB / 10.55 GB, free: 3.652 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004008/42.3, allocations: 209.4 kB / 10.55 GB, free: 3.453 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001067/42.3, allocations: 0.7456 MB / 10.55 GB, free: 2.836 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176/43.48, allocations: 11.1 MB / 10.56 GB, free: 109.5 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02763/43.51, allocations: 13.24 MB / 10.57 GB, free: 105.6 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02309/43.53, allocations: 10.9 MB / 10.58 GB, free: 105.4 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/43.53, allocations: 13.56 kB / 10.58 GB, free: 105.4 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6155/44.15, allocations: 128.3 MB / 10.71 GB, free: 104.3 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007936/44.15, allocations: 36.69 MB / 10.74 GB, free: 66.89 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006487/44.15, allocations: 116.8 kB / 10.74 GB, free: 66.89 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6255/44.78, allocations: 146.9 MB / 10.89 GB, free: 60.82 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01505/44.79, allocations: 2.699 MB / 10.89 GB, free: 60.21 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1384/44.93, allocations: 73.2 MB / 10.96 GB, free: 6.711 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02711/44.96, allocations: 1.553 MB / 10.96 GB, free: 5.418 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005752/44.97, allocations: 0.9159 MB / 10.96 GB, free: 4.586 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/44.97, allocations: 4 kB / 10.96 GB, free: 4.582 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.687/46.65, allocations: 127 MB / 11.09 GB, free: 136.1 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005436/46.65, allocations: 117.6 kB / 11.09 GB, free: 136.1 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6237/47.28, allocations: 147.3 MB / 11.23 GB, free: 135 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01319/47.29, allocations: 2.667 MB / 11.24 GB, free: 134.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1547/47.45, allocations: 77.01 MB / 11.31 GB, free: 129.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02435/47.47, allocations: 1.527 MB / 11.31 GB, free: 129.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004632/47.47, allocations: 0.8717 MB / 11.31 GB, free: 129.9 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1062): * Single equations (assignments): 982 * 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.007532/47.48, allocations: 0.7314 MB / 11.31 GB, free: 129.7 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006667/47.49, allocations: 1.55 MB / 11.31 GB, free: 129.7 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1993/47.69, allocations: 49.26 MB / 11.36 GB, free: 111.5 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001661/47.69, allocations: 92 kB / 11.36 GB, free: 111.4 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001071/47.69, allocations: 32 kB / 11.36 GB, free: 111.3 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.183/47.87, allocations: 43.25 MB / 11.41 GB, free: 75.68 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2494/48.12, allocations: 67.75 MB / 11.47 GB, free: 23.55 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.216e-05/48.12, allocations: 6.094 kB / 11.47 GB, free: 23.54 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01066/48.13, allocations: 1.838 MB / 11.47 GB, free: 21.83 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.461/49.59, allocations: 42.26 MB / 11.51 GB, free: 131.4 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003219/49.6, allocations: 341.8 kB / 11.51 GB, free: 131.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06848/49.66, allocations: 30.53 MB / 11.54 GB, free: 124.4 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/49.66, allocations: 6.125 kB / 11.54 GB, free: 124.4 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2049/49.87, allocations: 56.76 MB / 11.6 GB, free: 123.1 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01471/49.88, allocations: 3.655 MB / 11.6 GB, free: 123 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008517/49.89, allocations: 276.7 kB / 11.6 GB, free: 123 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02044/49.91, allocations: 1.328 MB / 11.61 GB, free: 123 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003966/49.92, allocations: 0.5886 MB / 11.61 GB, free: 123 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002378/49.92, allocations: 359.9 kB / 11.61 GB, free: 123 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02665/49.95, allocations: 11.26 MB / 11.62 GB, free: 122.4 MB / 1.276 GB Notification: Performance of sort global known variables: time 9.32e-07/49.95, allocations: 1 kB / 11.62 GB, free: 122.4 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.0647/50.01, allocations: 8.799 MB / 11.63 GB, free: 122.4 MB / 1.276 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.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[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 (717): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01505/50.03, allocations: 5.65 MB / 11.63 GB, free: 120.5 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.09853/50.12, allocations: 41.67 MB / 11.67 GB, free: 117.2 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.95e-05/50.12, allocations: 12 kB / 11.67 GB, free: 117.2 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.02536/50.15, allocations: 10.67 MB / 11.68 GB, free: 116.9 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04709/50.2, allocations: 7.77 MB / 11.69 GB, free: 116.7 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07563/50.27, allocations: 29.41 MB / 11.72 GB, free: 111.1 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.015/50.29, allocations: 9.435 MB / 11.73 GB, free: 109.9 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.04506/50.33, allocations: 8.981 MB / 11.74 GB, free: 109.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005158/50.34, allocations: 0.9699 MB / 11.74 GB, free: 109.7 MB / 1.276 GB Notification: Performance of SimCode: time 1.813e-06/50.34, allocations: 1.312 kB / 11.74 GB, free: 109.7 MB / 1.276 GB Notification: Performance of Templates: time 2.785/53.12, allocations: 0.4975 GB / 12.24 GB, free: 139.6 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)