Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001194/0.001194, allocations: 181.4 kB / 373 MB, free: 10.15 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.674/1.674, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.0007556/0.0007557, allocations: 114.2 kB / 0.7451 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 16.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2406, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.669/1.91, allocations: 464.2 MB / 1.434 GB, free: 336.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/1.91, allocations: 96.52 kB / 1.434 GB, free: 336.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 33.78/35.69, allocations: 8.673 GB / 10.11 GB, free: 84.38 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.016e-06/35.69, allocations: 0 / 10.11 GB, free: 84.38 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.007448/35.7, allocations: 0.5179 MB / 10.11 GB, free: 84.27 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.1075/35.81, allocations: 21.24 MB / 10.13 GB, free: 76.5 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/35.81, allocations: 11.16 kB / 10.13 GB, free: 76.5 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/35.83, allocations: 2.307 MB / 10.13 GB, free: 75.48 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09218/35.92, allocations: 23.76 MB / 10.15 GB, free: 72.07 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001747/35.92, allocations: 0.7199 MB / 10.15 GB, free: 72.05 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007694/35.93, allocations: 1.019 MB / 10.16 GB, free: 72.03 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05955/35.99, allocations: 16.93 MB / 10.17 GB, free: 70.12 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001266/35.99, allocations: 19.16 kB / 10.17 GB, free: 70.11 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007964/36, allocations: 358.1 kB / 10.17 GB, free: 70.11 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004972/36, allocations: 213.6 kB / 10.17 GB, free: 70.11 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04526/36.05, allocations: 19.85 MB / 10.19 GB, free: 70.04 MB / 1.214 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.1708/36.22, allocations: 79.21 MB / 10.27 GB, free: 35.89 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02285/36.24, allocations: 11.94 MB / 10.28 GB, free: 35.43 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01655/36.26, allocations: 9.14 MB / 10.29 GB, free: 35.36 MB / 1.214 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.09452/36.35, allocations: 33.09 MB / 10.32 GB, free: 19.58 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02194/36.37, allocations: 9.331 MB / 10.33 GB, free: 16.25 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05216/36.42, allocations: 15.13 MB / 10.35 GB, free: 14.72 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 6.898e-05/36.42, allocations: 0 / 10.35 GB, free: 14.72 MB / 1.214 GB Notification: Performance of matching and sorting (n=812): time 2.266/38.69, allocations: 209.7 MB / 10.55 GB, free: 103.5 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001109/38.69, allocations: 2.532 MB / 10.55 GB, free: 100.5 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05103/38.74, allocations: 16.5 MB / 10.57 GB, free: 99.61 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005314/38.75, allocations: 265.5 kB / 10.57 GB, free: 99.57 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01372/38.76, allocations: 7.863 MB / 10.58 GB, free: 98.21 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007386/38.77, allocations: 2.823 MB / 10.58 GB, free: 96.77 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004217/38.77, allocations: 208.6 kB / 10.58 GB, free: 96.77 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001105/38.77, allocations: 0.7468 MB / 10.58 GB, free: 96.45 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02217/38.8, allocations: 10.47 MB / 10.59 GB, free: 96.39 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02963/38.83, allocations: 14.21 MB / 10.61 GB, free: 92.36 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05418/38.88, allocations: 23.22 MB / 10.63 GB, free: 90.08 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/38.88, allocations: 14.88 kB / 10.63 GB, free: 90.08 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6254/39.51, allocations: 131.2 MB / 10.76 GB, free: 67.21 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.00154/39.51, allocations: 1.728 MB / 10.76 GB, free: 64.94 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005383/39.51, allocations: 120.8 kB / 10.76 GB, free: 64.83 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705/41.21, allocations: 149.3 MB / 10.9 GB, free: 126.3 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/41.23, allocations: 2.797 MB / 10.91 GB, free: 126.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1242/41.35, allocations: 55.64 MB / 10.96 GB, free: 119.2 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0275/41.38, allocations: 1.557 MB / 10.96 GB, free: 119.2 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00635/41.39, allocations: 0.9236 MB / 10.96 GB, free: 119.2 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/41.39, allocations: 4.219 kB / 10.96 GB, free: 119.2 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.608/42, allocations: 129.4 MB / 11.09 GB, free: 117.7 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006759/42, allocations: 114.5 kB / 11.09 GB, free: 117.7 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6169/42.61, allocations: 148.5 MB / 11.24 GB, free: 44.37 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/42.63, allocations: 2.759 MB / 11.24 GB, free: 41.79 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1223/42.75, allocations: 59.44 MB / 11.3 GB, free: 13.38 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02392/42.77, allocations: 1.529 MB / 11.3 GB, free: 12.1 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005265/42.78, allocations: 0.8771 MB / 11.3 GB, free: 11.31 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 () * Number of clocked 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.0172/42.8, allocations: 4.281 MB / 11.3 GB, free: 8.676 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006878/42.8, allocations: 1.55 MB / 11.3 GB, free: 7.953 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204/44.01, allocations: 51.87 MB / 11.35 GB, free: 155.9 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002134/44.01, allocations: 102.3 kB / 11.35 GB, free: 155.9 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000319/44.01, allocations: 27.75 kB / 11.35 GB, free: 155.9 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.194/44.2, allocations: 45.81 MB / 11.4 GB, free: 155.2 MB / 1.292 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.2552/44.46, allocations: 70.48 MB / 11.47 GB, free: 151.1 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001223/44.46, allocations: 3.25 kB / 11.47 GB, free: 151.1 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01113/44.47, allocations: 1.817 MB / 11.47 GB, free: 151.1 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1902/44.66, allocations: 43.95 MB / 11.51 GB, free: 151 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003383/44.66, allocations: 345.4 kB / 11.51 GB, free: 151 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04942/44.71, allocations: 26.47 MB / 11.54 GB, free: 143.9 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/44.71, allocations: 0 / 11.54 GB, free: 143.9 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2177/44.93, allocations: 59.99 MB / 11.6 GB, free: 142.9 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02002/44.95, allocations: 3.65 MB / 11.6 GB, free: 142.8 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008365/44.96, allocations: 278.3 kB / 11.6 GB, free: 142.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01917/44.98, allocations: 1.337 MB / 11.6 GB, free: 142.7 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003507/44.98, allocations: 0.5755 MB / 11.6 GB, free: 142.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002823/44.98, allocations: 366.4 kB / 11.6 GB, free: 142.7 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02774/45.01, allocations: 11.2 MB / 11.61 GB, free: 142.3 MB / 1.292 GB Notification: Performance of sort global known variables: time 5.31e-07/45.01, allocations: 0 / 11.61 GB, free: 142.3 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05287/45.06, allocations: 8.338 MB / 11.62 GB, free: 138.3 MB / 1.292 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (713): * Single equations (assignments): 689 * 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: 4 * 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: 3 {36 81,36 68,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01355/45.08, allocations: 5.495 MB / 11.63 GB, free: 134.1 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1079/45.19, allocations: 45.64 MB / 11.67 GB, free: 109.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-05/45.19, allocations: 10.31 kB / 11.67 GB, free: 109.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.03028/45.22, allocations: 12.4 MB / 11.68 GB, free: 103.1 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06047/45.28, allocations: 7.807 MB / 11.69 GB, free: 99.04 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07753/45.35, allocations: 41.02 MB / 11.73 GB, free: 67.2 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01617/45.37, allocations: 9.078 MB / 11.74 GB, free: 61.48 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03259/45.4, allocations: 5.523 MB / 11.75 GB, free: 57.58 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007551/45.41, allocations: 1.308 MB / 11.75 GB, free: 56.51 MB / 1.292 GB Notification: Performance of SimCode: time 1.413e-06/45.41, allocations: 0 / 11.75 GB, free: 56.51 MB / 1.292 GB Notification: Performance of Templates: time 2.518/47.93, allocations: 435.1 MB / 12.17 GB, free: 51.1 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)