Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.609/2.609, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002162/0.002162, allocations: 185.1 kB / 371 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 96.41 kB / 0.743 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006624/0.0006627, allocations: 17.06 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2289, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.123/2.352, allocations: 464.2 MB / 1.432 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003944/2.352, allocations: 101.7 kB / 1.432 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 53.25/55.6, allocations: 9.512 GB / 10.94 GB, free: 89.02 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.647e-06/55.6, allocations: 1.281 kB / 10.94 GB, free: 89.02 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004766/55.6, allocations: 0.5134 MB / 10.94 GB, free: 88.9 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.1165/55.72, allocations: 21.41 MB / 10.97 GB, free: 81.17 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/55.72, allocations: 10.19 kB / 10.97 GB, free: 81.17 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01953/55.74, allocations: 2.304 MB / 10.97 GB, free: 80.15 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1114/55.85, allocations: 23.52 MB / 10.99 GB, free: 77.55 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00169/55.85, allocations: 0.7123 MB / 10.99 GB, free: 77.53 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007443/55.86, allocations: 1.016 MB / 10.99 GB, free: 77.51 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05794/55.92, allocations: 16.83 MB / 11.01 GB, free: 75.65 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006867/55.92, allocations: 11.59 kB / 11.01 GB, free: 75.65 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005107/55.93, allocations: 363.6 kB / 11.01 GB, free: 75.65 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/55.93, allocations: 212.1 kB / 11.01 GB, free: 75.65 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05502/55.98, allocations: 19.82 MB / 11.03 GB, free: 75.59 MB / 1.229 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.2092/56.19, allocations: 79.73 MB / 11.11 GB, free: 41.13 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04153/56.23, allocations: 11.7 MB / 11.12 GB, free: 40.68 MB / 1.229 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.1206/56.35, allocations: 32.68 MB / 11.15 GB, free: 32.04 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02475/56.38, allocations: 9.21 MB / 11.16 GB, free: 29.99 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07883/56.46, allocations: 14.9 MB / 11.17 GB, free: 28.47 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 4.355e-05/56.46, allocations: 0 / 11.17 GB, free: 28.47 MB / 1.229 GB Notification: Performance of matching and sorting (n=775): time 3.173/59.63, allocations: 204.2 MB / 11.37 GB, free: 96.03 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001028/59.63, allocations: 2.528 MB / 11.37 GB, free: 93.02 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0621/59.69, allocations: 14.91 MB / 11.39 GB, free: 92.21 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006549/59.7, allocations: 256.2 kB / 11.39 GB, free: 92.18 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0199/59.72, allocations: 7.884 MB / 11.4 GB, free: 90.81 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.009161/59.73, allocations: 2.699 MB / 11.4 GB, free: 89.44 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006623/59.73, allocations: 206.9 kB / 11.4 GB, free: 89.44 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001608/59.74, allocations: 0.7392 MB / 11.4 GB, free: 89.11 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04969/59.79, allocations: 10.25 MB / 11.41 GB, free: 89.06 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03859/59.82, allocations: 13.9 MB / 11.42 GB, free: 85.02 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03881/59.86, allocations: 11.54 MB / 11.44 GB, free: 84.69 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/59.86, allocations: 15.84 kB / 11.44 GB, free: 84.69 MB / 1.229 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 1.288/61.15, allocations: 129.4 MB / 11.56 GB, free: 80.7 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007307/61.16, allocations: 38.28 MB / 11.6 GB, free: 41.64 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006452/61.16, allocations: 121 kB / 11.6 GB, free: 41.63 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62/63.78, allocations: 146.4 MB / 11.74 GB, free: 153.2 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02908/63.81, allocations: 2.683 MB / 11.75 GB, free: 153.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2964/64.11, allocations: 74.4 MB / 11.82 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03687/64.14, allocations: 1.551 MB / 11.82 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00595/64.15, allocations: 0.9108 MB / 11.82 GB, free: 147.3 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/64.15, allocations: 4.781 kB / 11.82 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.269/65.42, allocations: 128.1 MB / 11.95 GB, free: 146.1 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006156/65.42, allocations: 120 kB / 11.95 GB, free: 146.1 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331/66.75, allocations: 146.7 MB / 12.09 GB, free: 86.52 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02392/66.77, allocations: 2.677 MB / 12.09 GB, free: 84.02 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.31/67.08, allocations: 79.17 MB / 12.17 GB, free: 25.84 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03561/67.12, allocations: 1.523 MB / 12.17 GB, free: 24.55 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005809/67.12, allocations: 0.8712 MB / 12.17 GB, free: 23.77 MB / 1.292 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 (1067): * Single equations (assignments): 989 * 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 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.02197/67.15, allocations: 4.27 MB / 12.18 GB, free: 21.14 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00924/67.16, allocations: 1.545 MB / 12.18 GB, free: 20.2 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646/68.8, allocations: 50.02 MB / 12.23 GB, free: 148.1 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001895/68.8, allocations: 95.2 kB / 12.23 GB, free: 148.1 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003241/68.8, allocations: 29.22 kB / 12.23 GB, free: 148.1 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3437/69.15, allocations: 44.08 MB / 12.27 GB, free: 147.4 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4141/69.56, allocations: 67.2 MB / 12.33 GB, free: 143.4 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001386/69.56, allocations: 4.875 kB / 12.33 GB, free: 143.4 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01895/69.58, allocations: 1.791 MB / 12.34 GB, free: 143.4 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3506/69.93, allocations: 41.79 MB / 12.38 GB, free: 143.4 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003216/69.93, allocations: 330.7 kB / 12.38 GB, free: 143.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1128/70.05, allocations: 29.62 MB / 12.41 GB, free: 137.4 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/70.05, allocations: 8.562 kB / 12.41 GB, free: 137.4 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4009/70.45, allocations: 58.08 MB / 12.46 GB, free: 136.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0169/70.46, allocations: 3.598 MB / 12.47 GB, free: 135.2 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008613/70.47, allocations: 272.8 kB / 12.47 GB, free: 135.2 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02792/70.5, allocations: 1.27 MB / 12.47 GB, free: 135.2 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004729/70.51, allocations: 0.5597 MB / 12.47 GB, free: 135.2 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003094/70.51, allocations: 347.6 kB / 12.47 GB, free: 135.2 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03365/70.54, allocations: 11.42 MB / 12.48 GB, free: 134.7 MB / 1.292 GB Notification: Performance of sort global known variables: time 8.21e-07/70.54, allocations: 1.469 kB / 12.48 GB, free: 134.7 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.0802/70.62, allocations: 8.778 MB / 12.49 GB, free: 130.6 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 (702): * Single equations (assignments): 680 * 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 {6 81,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01563/70.64, allocations: 5.634 MB / 12.49 GB, free: 126.4 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1577/70.8, allocations: 42.86 MB / 12.54 GB, free: 103.6 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.38e-05/70.8, allocations: 11.88 kB / 12.54 GB, free: 103.6 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.0413/70.84, allocations: 11.18 MB / 12.55 GB, free: 98.01 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06415/70.9, allocations: 7.608 MB / 12.55 GB, free: 94.13 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/71.01, allocations: 40.11 MB / 12.59 GB, free: 63.07 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02207/71.03, allocations: 9.365 MB / 12.6 GB, free: 57.39 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04216/71.07, allocations: 5.529 MB / 12.61 GB, free: 53.53 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01093/71.08, allocations: 1.3 MB / 12.61 GB, free: 52.47 MB / 1.292 GB Notification: Performance of SimCode: time 1.472e-06/71.08, allocations: 0 / 12.61 GB, free: 52.47 MB / 1.292 GB Notification: Performance of Templates: time 3.678/74.76, allocations: 467 MB / 13.07 GB, free: 6.637 MB / 1.292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)