Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.265/1.265, 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.0009686/0.0009685, allocations: 181.6 kB / 327.6 MB, free: 2.164 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.406/1.406, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0007899/0.0007899, allocations: 103.7 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003817, allocations: 12.25 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1914, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8616/1.053, allocations: 457.5 MB / 1.348 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.053, allocations: 102.8 kB / 1.348 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 34/35.06, allocations: 10.01 GB / 11.36 GB, free: 55.11 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.384e-06/35.06, allocations: 0 / 11.36 GB, free: 55.11 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003482/35.06, allocations: 387 kB / 11.36 GB, free: 55.02 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.07144/35.13, allocations: 18.53 MB / 11.38 GB, free: 47.75 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/35.13, allocations: 11.41 kB / 11.38 GB, free: 47.75 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/35.14, allocations: 2.183 MB / 11.38 GB, free: 46.85 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06028/35.2, allocations: 20.41 MB / 11.4 GB, free: 32.48 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009184/35.21, allocations: 0.596 MB / 11.4 GB, free: 31.89 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004375/35.21, allocations: 0.8128 MB / 11.4 GB, free: 31.07 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0337/35.24, allocations: 14.23 MB / 11.42 GB, free: 17.82 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004912/35.24, allocations: 7.938 kB / 11.42 GB, free: 17.81 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003452/35.25, allocations: 288 kB / 11.42 GB, free: 17.53 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/35.25, allocations: 188 kB / 11.42 GB, free: 17.34 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9664/36.21, allocations: 18.4 MB / 11.43 GB, free: 67.63 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 removeSimpleEquations (simulation): time 0.1359/36.35, allocations: 73.88 MB / 11.51 GB, free: 35.08 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01617/36.37, allocations: 9.743 MB / 11.52 GB, free: 34.91 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01569/36.38, allocations: 8.633 MB / 11.52 GB, free: 34.84 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.06688/36.45, allocations: 30.01 MB / 11.55 GB, free: 26.48 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01508/36.46, allocations: 8.222 MB / 11.56 GB, free: 26.36 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04189/36.51, allocations: 14.95 MB / 11.58 GB, free: 26.36 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 4.478e-05/36.51, allocations: 2.75 kB / 11.58 GB, free: 26.36 MB / 1.167 GB Notification: Performance of matching and sorting (n=613): time 0.3478/36.85, allocations: 110.6 MB / 11.68 GB, free: 18.71 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/36.85, allocations: 113.9 kB / 11.68 GB, free: 18.64 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03111/36.89, allocations: 14.06 MB / 11.7 GB, free: 17.89 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003694/36.89, allocations: 194.9 kB / 11.7 GB, free: 17.86 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008308/36.9, allocations: 6.647 MB / 11.7 GB, free: 16.73 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004205/36.9, allocations: 2.067 MB / 11.71 GB, free: 15.67 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002663/36.9, allocations: 160.2 kB / 11.71 GB, free: 15.67 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005539/36.91, allocations: 0.6196 MB / 11.71 GB, free: 15.35 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01434/36.92, allocations: 8.411 MB / 11.72 GB, free: 15.31 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01715/36.94, allocations: 11.24 MB / 11.73 GB, free: 12.09 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03343/36.97, allocations: 19.13 MB / 11.75 GB, free: 9.844 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.951e-05/36.97, allocations: 16.45 kB / 11.75 GB, free: 9.844 MB / 1.167 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.0647/37.04, allocations: 28.14 MB / 11.77 GB, free: 8.539 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/37.04, allocations: 1.736 MB / 11.77 GB, free: 6.188 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/37.04, allocations: 56.28 kB / 11.77 GB, free: 6.188 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418/38.45, allocations: 151.9 MB / 11.92 GB, free: 95.63 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/38.46, allocations: 1.979 MB / 11.92 GB, free: 95.63 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03846/38.5, allocations: 25.29 MB / 11.95 GB, free: 90.57 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01852/38.52, allocations: 1.285 MB / 11.95 GB, free: 90.57 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002853/38.52, allocations: 0.8166 MB / 11.95 GB, free: 90.57 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/38.52, allocations: 6.219 kB / 11.95 GB, free: 90.57 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04727/38.57, allocations: 26.73 MB / 11.98 GB, free: 90.23 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/38.57, allocations: 53.38 kB / 11.98 GB, free: 90.23 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5454/39.12, allocations: 147.8 MB / 12.12 GB, free: 89.62 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008625/39.13, allocations: 1.954 MB / 12.12 GB, free: 89.61 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05024/39.18, allocations: 29.59 MB / 12.15 GB, free: 85.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01759/39.19, allocations: 1.251 MB / 12.15 GB, free: 85.64 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003198/39.2, allocations: 0.7747 MB / 12.15 GB, free: 85.64 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01025/39.21, allocations: 3.355 MB / 12.16 GB, free: 85.45 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004565/39.21, allocations: 1.282 MB / 12.16 GB, free: 85.45 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06277/39.27, allocations: 26.12 MB / 12.18 GB, free: 84.51 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001178/39.27, allocations: 78.33 kB / 12.18 GB, free: 84.51 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/39.27, allocations: 0 / 12.18 GB, free: 84.51 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04688/39.32, allocations: 20.53 MB / 12.2 GB, free: 77.29 MB / 1.198 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.1459/39.47, allocations: 57.41 MB / 12.26 GB, free: 40.68 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.828e-05/39.47, allocations: 8 kB / 12.26 GB, free: 40.67 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006639/39.47, allocations: 1.284 MB / 12.26 GB, free: 39.48 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1613/39.64, allocations: 43.02 MB / 12.3 GB, free: 13.66 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001894/39.64, allocations: 208 kB / 12.3 GB, free: 13.56 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/39.66, allocations: 14.36 MB / 12.32 GB, free: 2.508 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/39.66, allocations: 8.562 kB / 12.32 GB, free: 2.5 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8474/40.51, allocations: 35.64 MB / 12.35 GB, free: 124.6 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009215/40.52, allocations: 3.053 MB / 12.36 GB, free: 124.5 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004055/40.52, allocations: 134.3 kB / 12.36 GB, free: 124.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0125/40.53, allocations: 0.9901 MB / 12.36 GB, free: 124.5 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001891/40.54, allocations: 483.9 kB / 12.36 GB, free: 124.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008823/40.54, allocations: 301.6 kB / 12.36 GB, free: 124.4 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.01721/40.55, allocations: 9.536 MB / 12.37 GB, free: 124.1 MB / 1.229 GB Notification: Performance of sort global known variables: time 4.2e-07/40.55, allocations: 0 / 12.37 GB, free: 124.1 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04617/40.6, allocations: 7.076 MB / 12.37 GB, free: 124.1 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * 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: 0 * Non-linear torn systems: 4 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008722/40.61, allocations: 5.402 MB / 12.38 GB, free: 122.1 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.06474/40.67, allocations: 34.33 MB / 12.41 GB, free: 121.5 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/40.67, allocations: 4.562 kB / 12.41 GB, free: 121.5 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.0183/40.69, allocations: 9.571 MB / 12.42 GB, free: 121.4 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05238/40.74, allocations: 6.809 MB / 12.43 GB, free: 121.3 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05499/40.8, allocations: 32.11 MB / 12.46 GB, free: 109.7 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/40.81, allocations: 7.384 MB / 12.47 GB, free: 108.7 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02316/40.83, allocations: 4.046 MB / 12.47 GB, free: 108.6 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005301/40.84, allocations: 1.086 MB / 12.47 GB, free: 108.6 MB / 1.229 GB Notification: Performance of SimCode: time 8.01e-07/40.84, allocations: 0 / 12.47 GB, free: 108.6 MB / 1.229 GB Notification: Performance of Templates: time 1.918/42.76, allocations: 426.3 MB / 12.89 GB, free: 150.4 MB / 1.261 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)