Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 175.6 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007414/0.0007415, allocations: 82.95 kB / 0.6831 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 14.41 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 106.3 MB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8185/1.008, allocations: 456.9 MB / 1.347 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.009, allocations: 95.02 kB / 1.347 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 31.42/32.43, allocations: 9.199 GB / 10.55 GB, free: 30.45 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.224e-06/32.43, allocations: 0 / 10.55 GB, free: 30.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.003865/32.43, allocations: 0.5109 MB / 10.55 GB, free: 29.94 MB / 1.151 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.07151/32.5, allocations: 21.21 MB / 10.57 GB, free: 8.562 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/32.5, allocations: 8.031 kB / 10.57 GB, free: 8.555 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/32.52, allocations: 2.297 MB / 10.57 GB, free: 6.234 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.526/34.05, allocations: 23.71 MB / 10.59 GB, free: 54.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001999/34.05, allocations: 0.7172 MB / 10.59 GB, free: 54.71 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006809/34.05, allocations: 1.016 MB / 10.59 GB, free: 54.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04281/34.1, allocations: 16.82 MB / 10.61 GB, free: 52.85 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006744/34.1, allocations: 12.62 kB / 10.61 GB, free: 52.85 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004571/34.1, allocations: 355 kB / 10.61 GB, free: 52.85 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002849/34.1, allocations: 222.6 kB / 10.61 GB, free: 52.84 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04112/34.14, allocations: 19.75 MB / 10.63 GB, free: 52.78 MB / 1.151 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.154/34.3, allocations: 79.37 MB / 10.71 GB, free: 35.07 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01966/34.32, allocations: 11.63 MB / 10.72 GB, free: 34.64 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01357/34.33, allocations: 9.432 MB / 10.73 GB, free: 34.55 MB / 1.167 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.07879/34.41, allocations: 32.76 MB / 10.76 GB, free: 25.98 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01691/34.43, allocations: 9.149 MB / 10.77 GB, free: 25.81 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04441/34.47, allocations: 15.11 MB / 10.78 GB, free: 25.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=561): time 5.133e-05/34.47, allocations: 3.844 kB / 10.78 GB, free: 25.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=772): time 0.7768/35.25, allocations: 199.4 MB / 10.98 GB, free: 8.266 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001118/35.25, allocations: 2.526 MB / 10.98 GB, free: 5.172 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0464/35.3, allocations: 16.98 MB / 11 GB, free: 13.13 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.004501/35.3, allocations: 251.1 kB / 11 GB, free: 13.04 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0122/35.31, allocations: 7.892 MB / 11.01 GB, free: 6.227 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.006238/35.32, allocations: 2.686 MB / 11.01 GB, free: 3.559 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003857/35.32, allocations: 208.2 kB / 11.01 GB, free: 3.363 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.001134/35.32, allocations: 0.7409 MB / 11.01 GB, free: 2.617 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02134/35.35, allocations: 10.05 MB / 11.02 GB, free: 8.559 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736/37.08, allocations: 13.76 MB / 11.03 GB, free: 91.75 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04582/37.13, allocations: 22.46 MB / 11.05 GB, free: 89.57 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/37.13, allocations: 18.34 kB / 11.05 GB, free: 89.57 MB / 1.198 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 0.549/37.68, allocations: 129.9 MB / 11.18 GB, free: 88.98 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001514/37.68, allocations: 1.798 MB / 11.18 GB, free: 86.76 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005284/37.68, allocations: 118.4 kB / 11.18 GB, free: 86.76 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5701/38.25, allocations: 147.4 MB / 11.33 GB, free: 80.54 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01491/38.26, allocations: 2.668 MB / 11.33 GB, free: 79.97 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09704/38.36, allocations: 52.89 MB / 11.38 GB, free: 46.15 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02388/38.38, allocations: 1.436 MB / 11.38 GB, free: 44.96 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005593/38.39, allocations: 0.9115 MB / 11.38 GB, free: 44.14 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/38.39, allocations: 4 kB / 11.38 GB, free: 44.13 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.338/39.73, allocations: 128.2 MB / 11.51 GB, free: 122.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006656/39.73, allocations: 116.9 kB / 11.51 GB, free: 122.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5585/40.29, allocations: 147.3 MB / 11.65 GB, free: 122.6 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/40.3, allocations: 2.653 MB / 11.66 GB, free: 122.6 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09992/40.4, allocations: 57.19 MB / 11.71 GB, free: 117.7 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02089/40.42, allocations: 1.414 MB / 11.71 GB, free: 117.6 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00403/40.42, allocations: 0.8668 MB / 11.71 GB, free: 117.6 MB / 1.245 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 () * Number of clocked 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.01494/40.44, allocations: 4.261 MB / 11.72 GB, free: 117.4 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006408/40.45, allocations: 1.548 MB / 11.72 GB, free: 117.4 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1723/40.62, allocations: 50.32 MB / 11.77 GB, free: 116.3 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001273/40.62, allocations: 87.66 kB / 11.77 GB, free: 116.3 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-05/40.62, allocations: 31.16 kB / 11.77 GB, free: 116.3 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1525/40.77, allocations: 44.38 MB / 11.81 GB, free: 101.9 MB / 1.245 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.1886/40.96, allocations: 67.6 MB / 11.88 GB, free: 49.71 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.457e-05/40.96, allocations: 2.625 kB / 11.88 GB, free: 49.71 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009004/40.97, allocations: 1.68 MB / 11.88 GB, free: 48.14 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9466/41.92, allocations: 42.67 MB / 11.92 GB, free: 119.2 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003427/41.92, allocations: 334.7 kB / 11.92 GB, free: 119.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04024/41.96, allocations: 23.93 MB / 11.95 GB, free: 113.4 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/41.96, allocations: 2.906 kB / 11.95 GB, free: 113.4 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.18/42.14, allocations: 57.91 MB / 12 GB, free: 112.5 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01224/42.15, allocations: 3.553 MB / 12.01 GB, free: 112.4 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006157/42.16, allocations: 269.2 kB / 12.01 GB, free: 112.4 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01603/42.17, allocations: 1.153 MB / 12.01 GB, free: 112.4 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00318/42.18, allocations: 0.5585 MB / 12.01 GB, free: 112.4 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002319/42.18, allocations: 335.8 kB / 12.01 GB, free: 112.4 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02478/42.2, allocations: 11.21 MB / 12.02 GB, free: 112 MB / 1.245 GB Notification: Performance of sort global known variables: time 5.61e-07/42.2, allocations: 0 / 12.02 GB, free: 112 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.05549/42.26, allocations: 8.244 MB / 12.03 GB, free: 112 MB / 1.245 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 (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): 5 * 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: 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: 3 {1 1,7 83,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01237/42.27, allocations: 5.504 MB / 12.03 GB, free: 110 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.0847/42.36, allocations: 42.16 MB / 12.07 GB, free: 106.9 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-05/42.36, allocations: 9.031 kB / 12.07 GB, free: 106.9 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.02127/42.38, allocations: 11.01 MB / 12.08 GB, free: 106.6 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04566/42.42, allocations: 7.645 MB / 12.09 GB, free: 106.5 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.066/42.49, allocations: 39.99 MB / 12.13 GB, free: 92.57 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01319/42.5, allocations: 9.03 MB / 12.14 GB, free: 91.44 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.02632/42.53, allocations: 5.489 MB / 12.14 GB, free: 91.3 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006395/42.54, allocations: 1.295 MB / 12.15 GB, free: 91.29 MB / 1.245 GB Notification: Performance of SimCode: time 9.02e-07/42.54, allocations: 3.969 kB / 12.15 GB, free: 91.29 MB / 1.245 GB Notification: Performance of Templates: time 1.302/43.84, allocations: 431.1 MB / 12.57 GB, free: 128.1 MB / 1.245 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)