Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.00109/0.00109, allocations: 186.6 kB / 371.6 MB, free: 3.359 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.704/1.704, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009037/0.0009035, allocations: 89.97 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.098e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2804, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.851/2.131, allocations: 465.2 MB / 1.434 GB, free: 293 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/2.132, allocations: 97.17 kB / 1.434 GB, free: 293 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 41.56/43.69, allocations: 9.485 GB / 10.92 GB, free: 89.85 MB / 1.229 GB Notification: Performance of FrontEnd: time 1.392e-06/43.69, allocations: 0 / 10.92 GB, free: 89.85 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004358/43.7, allocations: 0.5129 MB / 10.92 GB, free: 89.74 MB / 1.229 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.05476/43.75, allocations: 14.14 MB / 10.93 GB, free: 83.75 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/43.75, allocations: 12.16 kB / 10.93 GB, free: 83.75 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/43.77, allocations: 2.303 MB / 10.94 GB, free: 82.74 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07527/43.84, allocations: 23.24 MB / 10.96 GB, free: 80.12 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001509/43.85, allocations: 0.7174 MB / 10.96 GB, free: 80.11 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008387/43.85, allocations: 1.018 MB / 10.96 GB, free: 80.09 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05155/43.91, allocations: 16.57 MB / 10.98 GB, free: 78.22 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005374/43.91, allocations: 16.61 kB / 10.98 GB, free: 78.22 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004421/43.91, allocations: 362.8 kB / 10.98 GB, free: 78.22 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/43.91, allocations: 210.9 kB / 10.98 GB, free: 78.22 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03706/43.95, allocations: 19.42 MB / 11 GB, free: 78.16 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 removeSimpleEquations (simulation): time 0.1448/44.09, allocations: 79.68 MB / 11.07 GB, free: 43.76 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/44.11, allocations: 11.44 MB / 11.08 GB, free: 43.32 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01369/44.12, allocations: 9.285 MB / 11.09 GB, free: 43.23 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.0765/44.2, allocations: 33.03 MB / 11.13 GB, free: 30.26 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01542/44.22, allocations: 9.035 MB / 11.13 GB, free: 26.99 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04313/44.26, allocations: 15.14 MB / 11.15 GB, free: 25.45 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 4.078e-05/44.26, allocations: 1.406 kB / 11.15 GB, free: 25.45 MB / 1.229 GB Notification: Performance of matching and sorting (n=772): time 1.971/46.23, allocations: 170.8 MB / 11.32 GB, free: 109.8 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000975/46.23, allocations: 2.528 MB / 11.32 GB, free: 106.8 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0484/46.28, allocations: 14.74 MB / 11.33 GB, free: 106 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.005873/46.29, allocations: 258.6 kB / 11.33 GB, free: 105.9 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01475/46.3, allocations: 7.886 MB / 11.34 GB, free: 105.6 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.007221/46.31, allocations: 2.692 MB / 11.34 GB, free: 105.1 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005041/46.31, allocations: 204 kB / 11.34 GB, free: 105.1 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001406/46.31, allocations: 0.742 MB / 11.34 GB, free: 104.8 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01949/46.33, allocations: 9.43 MB / 11.35 GB, free: 104.8 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02411/46.36, allocations: 13.1 MB / 11.37 GB, free: 100.8 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02363/46.38, allocations: 10.77 MB / 11.38 GB, free: 100.5 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002143/46.38, allocations: 17.25 kB / 11.38 GB, free: 100.5 MB / 1.245 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 0.6036/46.99, allocations: 127.7 MB / 11.5 GB, free: 96.53 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.008081/46.99, allocations: 38.28 MB / 11.54 GB, free: 57.46 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006282/46.99, allocations: 120.1 kB / 11.54 GB, free: 57.46 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6497/47.64, allocations: 146 MB / 11.68 GB, free: 11.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01607/47.66, allocations: 2.692 MB / 11.68 GB, free: 8.992 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339/49, allocations: 71.13 MB / 11.75 GB, free: 168.1 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0254/49.03, allocations: 1.557 MB / 11.76 GB, free: 168.1 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005847/49.03, allocations: 0.9064 MB / 11.76 GB, free: 168.1 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/49.03, allocations: 5.531 kB / 11.76 GB, free: 168.1 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5906/49.62, allocations: 126.4 MB / 11.88 GB, free: 167.4 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005818/49.62, allocations: 121.4 kB / 11.88 GB, free: 167.4 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6099/50.23, allocations: 146.4 MB / 12.02 GB, free: 136.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01264/50.25, allocations: 2.68 MB / 12.03 GB, free: 134 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1433/50.39, allocations: 75.39 MB / 12.1 GB, free: 78.25 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02194/50.41, allocations: 1.52 MB / 12.1 GB, free: 76.96 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00433/50.41, allocations: 0.868 MB / 12.1 GB, free: 76.18 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 (1070): * Single equations (assignments): 992 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.004424/50.42, allocations: 0.7046 MB / 12.1 GB, free: 75.91 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004576/50.42, allocations: 1.548 MB / 12.1 GB, free: 75.19 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1758/50.6, allocations: 48.45 MB / 12.15 GB, free: 36.05 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001242/50.6, allocations: 95.62 kB / 12.15 GB, free: 35.96 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.123e-05/50.6, allocations: 28.84 kB / 12.15 GB, free: 35.94 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195/51.79, allocations: 42.52 MB / 12.19 GB, free: 146.1 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2289/52.02, allocations: 65.67 MB / 12.26 GB, free: 142.1 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-05/52.02, allocations: 2.625 kB / 12.26 GB, free: 142.1 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01012/52.03, allocations: 1.808 MB / 12.26 GB, free: 142.1 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.176/52.21, allocations: 41.67 MB / 12.3 GB, free: 142.1 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003278/52.21, allocations: 331 kB / 12.3 GB, free: 142.1 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06038/52.27, allocations: 28.54 MB / 12.33 GB, free: 136.2 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/52.27, allocations: 2.969 kB / 12.33 GB, free: 136.2 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.187/52.46, allocations: 55.75 MB / 12.38 GB, free: 134.8 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01468/52.48, allocations: 3.604 MB / 12.39 GB, free: 134.4 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006855/52.48, allocations: 267.8 kB / 12.39 GB, free: 134.4 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01846/52.5, allocations: 1.265 MB / 12.39 GB, free: 134.4 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003815/52.5, allocations: 0.5691 MB / 12.39 GB, free: 134.4 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002788/52.51, allocations: 344.5 kB / 12.39 GB, free: 134.4 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.02635/52.53, allocations: 11.25 MB / 12.4 GB, free: 133.8 MB / 1.307 GB Notification: Performance of sort global known variables: time 5.41e-07/52.53, allocations: 0.5 kB / 12.4 GB, free: 133.8 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.06188/52.6, allocations: 8.747 MB / 12.41 GB, free: 133.8 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 (705): * Single equations (assignments): 683 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 79,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/52.61, allocations: 5.638 MB / 12.41 GB, free: 131.9 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.08867/52.7, allocations: 40.86 MB / 12.45 GB, free: 128.6 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.549e-05/52.7, allocations: 10.78 kB / 12.45 GB, free: 128.6 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.02314/52.72, allocations: 10.33 MB / 12.46 GB, free: 128.2 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04522/52.76, allocations: 7.614 MB / 12.47 GB, free: 128.1 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07303/52.84, allocations: 29.15 MB / 12.5 GB, free: 111 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01792/52.86, allocations: 9.388 MB / 12.51 GB, free: 105.5 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.04683/52.9, allocations: 8.97 MB / 12.52 GB, free: 100.4 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006244/52.91, allocations: 0.9629 MB / 12.52 GB, free: 99.64 MB / 1.307 GB Notification: Performance of SimCode: time 1.322e-06/52.91, allocations: 6 kB / 12.52 GB, free: 99.64 MB / 1.307 GB Notification: Performance of Templates: time 3.04/55.95, allocations: 0.4896 GB / 13.01 GB, free: 53.68 MB / 1.307 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)