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.704/1.704, allocations: 288.3 MB / 303.2 MB, free: 8.316 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.001088/0.001088, allocations: 178.7 kB / 371.8 MB, free: 10.3 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.729/1.729, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0009573/0.0009574, allocations: 101.6 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004383, allocations: 10.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2961, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.962/2.258, allocations: 464.1 MB / 1.433 GB, free: 272.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/2.259, allocations: 99.47 kB / 1.433 GB, free: 272.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 38.1/40.35, allocations: 8.722 GB / 10.16 GB, free: 81.11 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.188e-06/40.35, allocations: 1.594 kB / 10.16 GB, free: 81.11 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005797/40.36, allocations: 0.5136 MB / 10.16 GB, free: 81 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.09606/40.46, allocations: 21.42 MB / 10.18 GB, free: 73.05 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/40.46, allocations: 9.438 kB / 10.18 GB, free: 73.05 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0203/40.48, allocations: 2.311 MB / 10.18 GB, free: 72.02 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0898/40.57, allocations: 23.53 MB / 10.2 GB, free: 69.22 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00148/40.57, allocations: 0.7152 MB / 10.2 GB, free: 69.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006935/40.58, allocations: 1.019 MB / 10.2 GB, free: 69.18 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05116/40.63, allocations: 16.87 MB / 10.22 GB, free: 67.19 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007156/40.63, allocations: 20.86 kB / 10.22 GB, free: 67.18 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005798/40.63, allocations: 360.7 kB / 10.22 GB, free: 67.18 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/40.63, allocations: 216.1 kB / 10.22 GB, free: 67.18 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04238/40.68, allocations: 19.85 MB / 10.24 GB, free: 67.05 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.1791/40.85, allocations: 79.4 MB / 10.32 GB, free: 29.11 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02078/40.88, allocations: 11.93 MB / 10.33 GB, free: 23.64 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.08539/40.96, allocations: 33 MB / 10.36 GB, free: 5.965 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0242/40.99, allocations: 9.477 MB / 10.37 GB, free: 15.47 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05239/41.04, allocations: 14.9 MB / 10.39 GB, free: 5.02 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 6.903e-05/41.04, allocations: 0 / 10.39 GB, free: 5.02 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 2.225/43.26, allocations: 200.8 MB / 10.58 GB, free: 94.37 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007057/43.26, allocations: 2.53 MB / 10.58 GB, free: 91.36 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04213/43.31, allocations: 14.9 MB / 10.6 GB, free: 90.55 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005538/43.31, allocations: 269.7 kB / 10.6 GB, free: 90.52 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01383/43.33, allocations: 7.912 MB / 10.61 GB, free: 89.15 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.006874/43.33, allocations: 2.811 MB / 10.61 GB, free: 87.71 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004569/43.34, allocations: 210.6 kB / 10.61 GB, free: 87.71 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001241/43.34, allocations: 0.7527 MB / 10.61 GB, free: 87.39 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02517/43.36, allocations: 10.35 MB / 10.62 GB, free: 87.34 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0291/43.39, allocations: 14.06 MB / 10.63 GB, free: 83.29 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0264/43.42, allocations: 11.67 MB / 10.65 GB, free: 82.96 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001843/43.42, allocations: 15.81 kB / 10.65 GB, free: 82.96 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.5821/44, allocations: 130 MB / 10.77 GB, free: 49.92 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.006717/44.01, allocations: 36.69 MB / 10.81 GB, free: 12.32 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005751/44.01, allocations: 122.1 kB / 10.81 GB, free: 12.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861/45.87, allocations: 147.9 MB / 10.95 GB, free: 124.7 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01856/45.89, allocations: 2.693 MB / 10.96 GB, free: 124.7 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1824/46.07, allocations: 76.82 MB / 11.03 GB, free: 117.7 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03209/46.1, allocations: 1.557 MB / 11.03 GB, free: 117.7 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007534/46.11, allocations: 0.9105 MB / 11.03 GB, free: 117.7 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/46.11, allocations: 6 kB / 11.03 GB, free: 117.7 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7686/46.88, allocations: 128.7 MB / 11.16 GB, free: 115.1 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008661/46.88, allocations: 116.2 kB / 11.16 GB, free: 115.1 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6132/47.49, allocations: 147.7 MB / 11.3 GB, free: 2.004 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0154/47.51, allocations: 2.667 MB / 11.31 GB, free: 15.51 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429/48.94, allocations: 81.04 MB / 11.38 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02746/48.97, allocations: 1.533 MB / 11.39 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006198/48.97, allocations: 0.8713 MB / 11.39 GB, free: 152.3 MB / 1.292 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 (1061): * Single equations (assignments): 981 * 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.02135/48.99, allocations: 4.274 MB / 11.39 GB, free: 152.1 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009895/49, allocations: 1.555 MB / 11.39 GB, free: 152.1 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2161/49.22, allocations: 50.83 MB / 11.44 GB, free: 151.4 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002915/49.22, allocations: 103.8 kB / 11.44 GB, free: 151.4 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003492/49.22, allocations: 31 kB / 11.44 GB, free: 151.4 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1947/49.41, allocations: 44.81 MB / 11.49 GB, free: 150.7 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2925/49.71, allocations: 69.14 MB / 11.55 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001152/49.71, allocations: 3.938 kB / 11.55 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01205/49.72, allocations: 1.84 MB / 11.56 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1747/49.89, allocations: 42.79 MB / 11.6 GB, free: 146.4 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003668/49.9, allocations: 342.4 kB / 11.6 GB, free: 146.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06446/49.96, allocations: 31.83 MB / 11.63 GB, free: 139.3 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/49.96, allocations: 1.844 kB / 11.63 GB, free: 139.3 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2024/50.16, allocations: 59.09 MB / 11.69 GB, free: 112.5 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01766/50.18, allocations: 3.654 MB / 11.69 GB, free: 110.3 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009419/50.19, allocations: 279.1 kB / 11.69 GB, free: 110.2 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02114/50.21, allocations: 1.341 MB / 11.69 GB, free: 109.5 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004011/50.22, allocations: 0.5857 MB / 11.69 GB, free: 109.2 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002334/50.22, allocations: 360.1 kB / 11.69 GB, free: 108.9 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02914/50.25, allocations: 11.42 MB / 11.7 GB, free: 103.1 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.372e-06/50.25, allocations: 0 / 11.7 GB, free: 103.1 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06599/50.31, allocations: 8.806 MB / 11.71 GB, free: 95.38 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 (716): * Single equations (assignments): 692 * 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01194/50.33, allocations: 5.645 MB / 11.72 GB, free: 91.11 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1069/50.43, allocations: 44.82 MB / 11.76 GB, free: 55.91 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.587e-05/50.43, allocations: 10.31 kB / 11.76 GB, free: 55.9 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02839/50.46, allocations: 12.01 MB / 11.77 GB, free: 45.72 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0474/50.51, allocations: 7.771 MB / 11.78 GB, free: 40.28 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.266/52.78, allocations: 41.07 MB / 11.82 GB, free: 133.5 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03147/52.81, allocations: 9.4 MB / 11.83 GB, free: 132.4 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03619/52.84, allocations: 5.526 MB / 11.84 GB, free: 132.2 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008771/52.85, allocations: 1.312 MB / 11.84 GB, free: 132.2 MB / 1.292 GB Notification: Performance of SimCode: time 1.483e-06/52.85, allocations: 0 / 11.84 GB, free: 132.2 MB / 1.292 GB Notification: Performance of Templates: time 1.969/54.82, allocations: 471.5 MB / 12.3 GB, free: 188.4 MB / 1.339 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)