Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.285/1.285, allocations: 252 MB / 267.9 MB, free: 10.93 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.001019/0.001019, allocations: 182.2 kB / 327.6 MB, free: 2.168 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.42/1.42, allocations: 205.4 MB / 0.5785 GB, free: 20.57 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.0007959/0.000796, allocations: 94.34 kB / 0.6831 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 15.28 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 106.3 MB / 0.9012 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.781/0.9467, allocations: 456.7 MB / 1.347 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.947, allocations: 102.2 kB / 1.347 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 29.18/30.13, allocations: 8.436 GB / 9.783 GB, free: 77.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.318e-06/30.13, allocations: 1.375 kB / 9.783 GB, free: 77.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.005085/30.13, allocations: 0.5123 MB / 9.784 GB, free: 77.55 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.07829/30.21, allocations: 21.22 MB / 9.804 GB, free: 70.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/30.21, allocations: 11.88 kB / 9.804 GB, free: 70.12 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01858/30.23, allocations: 2.302 MB / 9.807 GB, free: 69.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06929/30.3, allocations: 23.72 MB / 9.83 GB, free: 65.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009913/30.3, allocations: 0.7177 MB / 9.831 GB, free: 65.84 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005436/30.31, allocations: 1.011 MB / 9.832 GB, free: 65.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03832/30.35, allocations: 16.87 MB / 9.848 GB, free: 63.97 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000402/30.35, allocations: 16.66 kB / 9.848 GB, free: 63.96 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003864/30.35, allocations: 358.4 kB / 9.848 GB, free: 63.96 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/30.35, allocations: 218.7 kB / 9.849 GB, free: 63.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03627/30.39, allocations: 19.79 MB / 9.868 GB, free: 63.9 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.1375/30.52, allocations: 79.04 MB / 9.945 GB, free: 30.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/30.54, allocations: 11.88 MB / 9.957 GB, free: 29.91 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01384/30.56, allocations: 9.126 MB / 9.966 GB, free: 29.85 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 evalFunc (simulation): time 0.07011/30.63, allocations: 32.97 MB / 9.998 GB, free: 21.19 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01404/30.64, allocations: 9.259 MB / 10.01 GB, free: 21.01 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04136/30.68, allocations: 15.11 MB / 10.02 GB, free: 20.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 4.047e-05/30.68, allocations: 0 / 10.02 GB, free: 20.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 1.567/32.25, allocations: 207 MB / 10.22 GB, free: 83.01 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005402/32.25, allocations: 2.528 MB / 10.23 GB, free: 80 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03207/32.28, allocations: 16.5 MB / 10.24 GB, free: 79.19 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00397/32.29, allocations: 262.4 kB / 10.24 GB, free: 79.16 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0101/32.3, allocations: 7.863 MB / 10.25 GB, free: 78.79 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005319/32.3, allocations: 2.821 MB / 10.25 GB, free: 78.79 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/32.3, allocations: 205.7 kB / 10.25 GB, free: 78.79 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006668/32.3, allocations: 0.7501 MB / 10.25 GB, free: 78.46 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0167/32.32, allocations: 10.19 MB / 10.26 GB, free: 78.44 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02098/32.34, allocations: 13.92 MB / 10.28 GB, free: 74.53 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03818/32.38, allocations: 22.7 MB / 10.3 GB, free: 72.42 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/32.38, allocations: 19.56 kB / 10.3 GB, free: 72.42 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.5255/32.91, allocations: 130.7 MB / 10.43 GB, free: 70.99 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001366/32.91, allocations: 1.737 MB / 10.43 GB, free: 68.82 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004662/32.91, allocations: 118.7 kB / 10.43 GB, free: 68.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5487/33.46, allocations: 148.4 MB / 10.57 GB, free: 22.63 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01378/33.47, allocations: 2.68 MB / 10.58 GB, free: 20.13 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1018/33.57, allocations: 55.01 MB / 10.63 GB, free: 9.41 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02242/33.59, allocations: 1.436 MB / 10.63 GB, free: 8.184 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005094/33.6, allocations: 0.925 MB / 10.63 GB, free: 7.348 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/33.6, allocations: 8.719 kB / 10.63 GB, free: 7.34 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.344/34.94, allocations: 128.9 MB / 10.76 GB, free: 119.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005681/34.94, allocations: 116.4 kB / 10.76 GB, free: 119.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5519/35.5, allocations: 148.3 MB / 10.9 GB, free: 116 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01214/35.51, allocations: 2.644 MB / 10.91 GB, free: 115.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1016/35.61, allocations: 58.87 MB / 10.96 GB, free: 93.57 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02401/35.63, allocations: 1.418 MB / 10.96 GB, free: 92.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004499/35.64, allocations: 0.879 MB / 10.97 GB, free: 91.61 MB / 1.214 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01385/35.65, allocations: 4.277 MB / 10.97 GB, free: 88.98 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005546/35.66, allocations: 1.552 MB / 10.97 GB, free: 88.25 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1731/35.83, allocations: 51.3 MB / 11.02 GB, free: 47.15 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001539/35.83, allocations: 93.31 kB / 11.02 GB, free: 47.06 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001458/35.83, allocations: 36 kB / 11.02 GB, free: 47.02 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1562/35.99, allocations: 45.25 MB / 11.07 GB, free: 9.934 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 postOpt removeSimpleEquations (simulation): time 1.105/37.09, allocations: 69.8 MB / 11.13 GB, free: 119 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-05/37.09, allocations: 0.5 kB / 11.13 GB, free: 119 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008947/37.1, allocations: 1.708 MB / 11.14 GB, free: 119 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1635/37.27, allocations: 43.47 MB / 11.18 GB, free: 118.9 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003057/37.27, allocations: 350.6 kB / 11.18 GB, free: 118.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04104/37.31, allocations: 26.04 MB / 11.2 GB, free: 111.9 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/37.31, allocations: 3.5 kB / 11.2 GB, free: 111.9 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1877/37.5, allocations: 59.09 MB / 11.26 GB, free: 111 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01402/37.51, allocations: 3.621 MB / 11.27 GB, free: 110.9 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00767/37.52, allocations: 278.5 kB / 11.27 GB, free: 110.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01861/37.54, allocations: 1.216 MB / 11.27 GB, free: 110.9 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00375/37.54, allocations: 0.5805 MB / 11.27 GB, free: 110.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001461/37.54, allocations: 356.9 kB / 11.27 GB, free: 110.8 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02739/37.57, allocations: 11.2 MB / 11.28 GB, free: 110.4 MB / 1.229 GB Notification: Performance of sort global known variables: time 4.31e-07/37.57, allocations: 0 / 11.28 GB, free: 110.4 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05202/37.62, allocations: 8.309 MB / 11.29 GB, free: 110.4 MB / 1.229 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 {14 103,14 90,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01023/37.63, allocations: 5.507 MB / 11.29 GB, free: 108.4 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.08814/37.72, allocations: 43.14 MB / 11.33 GB, free: 105.2 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.249e-05/37.72, allocations: 16.38 kB / 11.33 GB, free: 105.2 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02311/37.74, allocations: 11.41 MB / 11.35 GB, free: 104.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04933/37.79, allocations: 7.801 MB / 11.35 GB, free: 104.8 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06927/37.86, allocations: 40.36 MB / 11.39 GB, free: 90.8 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01417/37.88, allocations: 9.088 MB / 11.4 GB, free: 89.67 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02575/37.9, allocations: 5.498 MB / 11.41 GB, free: 87.07 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006436/37.91, allocations: 1.302 MB / 11.41 GB, free: 86 MB / 1.229 GB Notification: Performance of SimCode: time 9.12e-07/37.91, allocations: 1.688 kB / 11.41 GB, free: 86 MB / 1.229 GB Notification: Performance of Templates: time 2.32/40.23, allocations: 440 MB / 11.84 GB, free: 80.84 MB / 1.229 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)