Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001361/0.00136, allocations: 192.8 kB / 361.4 MB, free: 6.867 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.68/1.68, allocations: 205.3 MB / 0.62 GB, free: 11.68 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.0009592/0.0009592, allocations: 94.81 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.717e-05, allocations: 4 kB / 0.8517 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7324, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.968, allocations: 463.6 MB / 1.417 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.969, allocations: 93.61 kB / 1.417 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 38.98/40.95, allocations: 9.442 GB / 10.86 GB, free: 38.36 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.793e-06/40.95, allocations: 0 / 10.86 GB, free: 38.36 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003729/40.95, allocations: 0.5147 MB / 10.86 GB, free: 37.84 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.05138/41, allocations: 14.14 MB / 10.87 GB, free: 23.59 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/41, allocations: 8.031 kB / 10.87 GB, free: 23.59 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/41.02, allocations: 2.307 MB / 10.88 GB, free: 21.26 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.132/42.15, allocations: 23.24 MB / 10.9 GB, free: 66.96 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007301/42.15, allocations: 260.2 kB / 10.9 GB, free: 66.96 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005746/42.16, allocations: 0.5801 MB / 10.9 GB, free: 66.96 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03717/42.2, allocations: 19.65 MB / 10.92 GB, free: 66.92 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04609/42.24, allocations: 15.38 MB / 10.93 GB, free: 65.11 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007753/42.24, allocations: 23.42 kB / 10.93 GB, free: 65.11 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004516/42.25, allocations: 18.69 kB / 10.93 GB, free: 65.11 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004467/42.25, allocations: 214.3 kB / 10.93 GB, free: 65.11 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.1721/42.42, allocations: 78.33 MB / 11.01 GB, free: 48.2 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01979/42.44, allocations: 12.15 MB / 11.02 GB, free: 47.78 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01465/42.45, allocations: 9.58 MB / 11.03 GB, free: 47.69 MB / 1.229 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.08488/42.54, allocations: 32.8 MB / 11.06 GB, free: 38.93 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01536/42.55, allocations: 8.88 MB / 11.07 GB, free: 38.77 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04606/42.6, allocations: 14.95 MB / 11.09 GB, free: 38.62 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 7.005e-05/42.6, allocations: 0 / 11.09 GB, free: 38.62 MB / 1.229 GB Notification: Performance of matching and sorting (n=563): time 0.6361/43.24, allocations: 138.4 MB / 11.22 GB, free: 34.24 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001261/43.24, allocations: 2.507 MB / 11.22 GB, free: 31.23 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03504/43.27, allocations: 13.87 MB / 11.24 GB, free: 30.47 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004585/43.28, allocations: 49.98 kB / 11.24 GB, free: 30.43 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01209/43.29, allocations: 7.934 MB / 11.25 GB, free: 29.04 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005593/43.3, allocations: 1.926 MB / 11.25 GB, free: 28.03 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004247/43.3, allocations: 0 / 11.25 GB, free: 28.03 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001118/43.3, allocations: 0.6734 MB / 11.25 GB, free: 27.71 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01412/43.31, allocations: 8.342 MB / 11.26 GB, free: 27.68 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02034/43.34, allocations: 11.79 MB / 11.27 GB, free: 23.7 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02131/43.36, allocations: 9.795 MB / 11.28 GB, free: 23.48 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/43.36, allocations: 14.25 kB / 11.28 GB, free: 23.48 MB / 1.229 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 1.93/45.29, allocations: 124.6 MB / 11.4 GB, free: 90.79 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.006661/45.29, allocations: 38.12 MB / 11.44 GB, free: 51.98 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005639/45.29, allocations: 123.5 kB / 11.44 GB, free: 51.98 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.631/45.93, allocations: 143.2 MB / 11.58 GB, free: 51.68 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01236/45.94, allocations: 2.126 MB / 11.58 GB, free: 51.67 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1366/46.07, allocations: 65.59 MB / 11.64 GB, free: 62.58 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02105/46.1, allocations: 0.9612 MB / 11.64 GB, free: 62.53 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005648/46.1, allocations: 0.8338 MB / 11.64 GB, free: 62.53 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/46.1, allocations: 8.031 kB / 11.64 GB, free: 62.52 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5881/46.69, allocations: 121.5 MB / 11.76 GB, free: 29.83 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005482/46.69, allocations: 119.9 kB / 11.76 GB, free: 29.71 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667/48.36, allocations: 143.3 MB / 11.9 GB, free: 146.2 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/48.37, allocations: 2.118 MB / 11.9 GB, free: 146.2 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1427/48.51, allocations: 68.63 MB / 11.97 GB, free: 142.8 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02025/48.53, allocations: 0.9308 MB / 11.97 GB, free: 142.8 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004191/48.54, allocations: 0.7926 MB / 11.97 GB, free: 142.8 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (945): * Single equations (assignments): 869 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 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: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005673/48.54, allocations: 355.3 kB / 11.97 GB, free: 142.7 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005601/48.55, allocations: 1.477 MB / 11.98 GB, free: 142.7 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.184/48.73, allocations: 43.21 MB / 12.02 GB, free: 142.1 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001313/48.73, allocations: 77.75 kB / 12.02 GB, free: 142.1 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.204e-05/48.73, allocations: 32.22 kB / 12.02 GB, free: 142.1 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1611/48.89, allocations: 38.1 MB / 12.05 GB, free: 141.4 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2057/49.1, allocations: 56.97 MB / 12.11 GB, free: 137.5 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-05/49.1, allocations: 3.188 kB / 12.11 GB, free: 137.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006494/49.1, allocations: 1.107 MB / 12.11 GB, free: 137.5 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1791/49.28, allocations: 40.46 MB / 12.15 GB, free: 137.4 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002089/49.29, allocations: 153.3 kB / 12.15 GB, free: 137.4 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05044/49.34, allocations: 25.88 MB / 12.18 GB, free: 131.4 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-05/49.34, allocations: 1.438 kB / 12.18 GB, free: 131.4 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1819/49.52, allocations: 48.58 MB / 12.22 GB, free: 104.2 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0129/49.53, allocations: 3.151 MB / 12.23 GB, free: 102.3 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005689/49.54, allocations: 82.53 kB / 12.23 GB, free: 102.3 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01537/49.55, allocations: 0.754 MB / 12.23 GB, free: 101.8 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002878/49.56, allocations: 412.7 kB / 12.23 GB, free: 101.6 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001018/49.56, allocations: 253.3 kB / 12.23 GB, free: 101.5 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.02207/49.58, allocations: 10.4 MB / 12.24 GB, free: 95.91 MB / 1.307 GB Notification: Performance of sort global known variables: time 7.92e-07/49.58, allocations: 0 / 12.24 GB, free: 95.91 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.05953/49.64, allocations: 7.874 MB / 12.25 GB, free: 88.61 MB / 1.307 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 (519): * Single equations (assignments): 499 * 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: 2 * 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: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.0106/49.65, allocations: 5.275 MB / 12.25 GB, free: 84.48 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.06869/49.72, allocations: 35.2 MB / 12.29 GB, free: 65.24 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.911e-05/49.72, allocations: 10.62 kB / 12.29 GB, free: 65.23 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.01658/49.73, allocations: 8.182 MB / 12.29 GB, free: 61.14 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03975/49.77, allocations: 7.429 MB / 12.3 GB, free: 57.25 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05055/49.82, allocations: 26.06 MB / 12.33 GB, free: 37.59 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01281/49.84, allocations: 8.94 MB / 12.34 GB, free: 32.17 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.03566/49.87, allocations: 8.271 MB / 12.34 GB, free: 24.6 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00362/49.88, allocations: 0.837 MB / 12.34 GB, free: 23.8 MB / 1.307 GB Notification: Performance of SimCode: time 8.92e-07/49.88, allocations: 0 / 12.34 GB, free: 23.8 MB / 1.307 GB Notification: Performance of Templates: time 2.636/52.51, allocations: 424.7 MB / 12.76 GB, free: 19.04 MB / 1.307 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)