Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 284.8 MB / 297.3 MB, free: 6.367 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.001461/0.001461, allocations: 176.8 kB / 365.7 MB, free: 2.566 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 1.961/1.961, allocations: 205.1 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 98.08 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.116e-05/4.13e-05, allocations: 11.98 kB / 0.8574 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/0.7975, allocations: 115.2 MB / 0.97 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.427/2.225, allocations: 465.3 MB / 1.424 GB, free: 92.07 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/2.225, allocations: 95.95 kB / 1.424 GB, free: 92.03 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 58.09/60.31, allocations: 10.27 GB / 11.69 GB, free: 70.45 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.044e-06/60.31, allocations: 0 / 11.69 GB, free: 70.45 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003806/60.32, allocations: 351.6 kB / 11.69 GB, free: 70.37 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05708/60.37, allocations: 11.14 MB / 11.7 GB, free: 65.29 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/60.37, allocations: 6.656 kB / 11.7 GB, free: 65.29 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/60.39, allocations: 2.225 MB / 11.71 GB, free: 64.46 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09316/60.49, allocations: 18.61 MB / 11.72 GB, free: 62.11 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/60.49, allocations: 0.5328 MB / 11.72 GB, free: 62.09 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005937/60.5, allocations: 0.705 MB / 11.72 GB, free: 62.09 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06509/60.56, allocations: 13.08 MB / 11.74 GB, free: 59.73 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004518/60.56, allocations: 7.219 kB / 11.74 GB, free: 59.72 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01269/60.57, allocations: 246 kB / 11.74 GB, free: 59.54 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/60.57, allocations: 155.3 kB / 11.74 GB, free: 59.53 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06536/60.64, allocations: 17.54 MB / 11.76 GB, free: 50.24 MB / 1.198 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.1804/60.82, allocations: 70.04 MB / 11.82 GB, free: 256 kB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 1.235/62.06, allocations: 9.448 MB / 11.83 GB, free: 99.03 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01985/62.07, allocations: 8.436 MB / 11.84 GB, free: 99 MB / 1.214 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.09371/62.17, allocations: 29.49 MB / 11.87 GB, free: 91.34 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0202/62.19, allocations: 8.106 MB / 11.88 GB, free: 91.23 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0854/62.27, allocations: 15.23 MB / 11.89 GB, free: 91.23 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 4.12e-05/62.27, allocations: 1.719 kB / 11.89 GB, free: 91.23 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.42/62.69, allocations: 76.14 MB / 11.97 GB, free: 84.69 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/62.69, allocations: 112 kB / 11.97 GB, free: 84.62 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03579/62.73, allocations: 11.84 MB / 11.98 GB, free: 83.9 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004099/62.73, allocations: 182.6 kB / 11.98 GB, free: 83.87 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01015/62.74, allocations: 6.023 MB / 11.98 GB, free: 82.89 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005214/62.75, allocations: 1.955 MB / 11.99 GB, free: 81.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003265/62.75, allocations: 141.8 kB / 11.99 GB, free: 81.9 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006461/62.75, allocations: 0.5966 MB / 11.99 GB, free: 81.58 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02109/62.78, allocations: 7.799 MB / 12 GB, free: 81.57 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02417/62.8, allocations: 10.39 MB / 12.01 GB, free: 78.69 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02379/62.82, allocations: 8.7 MB / 12.01 GB, free: 78.52 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/62.82, allocations: 15 kB / 12.01 GB, free: 78.52 MB / 1.214 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.08671/62.91, allocations: 26.12 MB / 12.04 GB, free: 77.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.005646/62.92, allocations: 29.65 MB / 12.07 GB, free: 46.82 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002439/62.92, allocations: 45.34 kB / 12.07 GB, free: 46.82 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563/64.48, allocations: 170.4 MB / 12.23 GB, free: 17.44 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01974/64.5, allocations: 1.766 MB / 12.24 GB, free: 16.19 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08444/64.58, allocations: 26.57 MB / 12.26 GB, free: 12.97 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03238/64.62, allocations: 1.283 MB / 12.26 GB, free: 11.84 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005321/64.62, allocations: 0.7954 MB / 12.26 GB, free: 11.11 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/64.62, allocations: 4.781 kB / 12.26 GB, free: 11.11 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.257/65.88, allocations: 25.16 MB / 12.29 GB, free: 105.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002283/65.88, allocations: 48.34 kB / 12.29 GB, free: 105.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552/67.43, allocations: 170.6 MB / 12.46 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01669/67.45, allocations: 1.75 MB / 12.46 GB, free: 104.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1053/67.55, allocations: 30.92 MB / 12.49 GB, free: 101.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0312/67.58, allocations: 1.251 MB / 12.49 GB, free: 101 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004971/67.59, allocations: 0.7576 MB / 12.49 GB, free: 101 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (662): * Single equations (assignments): 648 * 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 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.007829/67.6, allocations: 0.5177 MB / 12.49 GB, free: 100.9 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007323/67.6, allocations: 1.199 MB / 12.49 GB, free: 100.9 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09649/67.7, allocations: 23.34 MB / 12.51 GB, free: 100 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001623/67.7, allocations: 71.81 kB / 12.51 GB, free: 100 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/67.7, allocations: 3.75 kB / 12.51 GB, free: 100 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06438/67.77, allocations: 17.81 MB / 12.53 GB, free: 99.4 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 postOpt removeSimpleEquations (simulation): time 0.2496/68.01, allocations: 54.13 MB / 12.58 GB, free: 92.84 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001176/68.01, allocations: 7.938 kB / 12.58 GB, free: 92.84 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01274/68.03, allocations: 1.259 MB / 12.59 GB, free: 92.82 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3913/68.42, allocations: 48.87 MB / 12.63 GB, free: 65.77 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002226/68.42, allocations: 199.1 kB / 12.63 GB, free: 65.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0541/68.48, allocations: 14.71 MB / 12.65 GB, free: 55.28 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-05/68.48, allocations: 11.09 kB / 12.65 GB, free: 55.27 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1602/68.64, allocations: 32.81 MB / 12.68 GB, free: 35.66 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01902/68.65, allocations: 2.935 MB / 12.68 GB, free: 33.39 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008194/68.66, allocations: 125.2 kB / 12.68 GB, free: 33.36 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02998/68.69, allocations: 1.003 MB / 12.68 GB, free: 32.47 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002851/68.7, allocations: 468.8 kB / 12.68 GB, free: 32.07 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002162/68.7, allocations: 287.8 kB / 12.68 GB, free: 31.84 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02495/68.72, allocations: 9.033 MB / 12.69 GB, free: 25.65 MB / 1.229 GB Notification: Performance of sort global known variables: time 2.936e-06/68.72, allocations: 0 / 12.69 GB, free: 25.65 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05992/68.78, allocations: 6.572 MB / 12.7 GB, free: 19.85 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (491): * Single equations (assignments): 469 * 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: 0 * Non-linear torn systems: 3 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01249/68.8, allocations: 5.029 MB / 12.7 GB, free: 15.36 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1245/68.92, allocations: 33.53 MB / 12.74 GB, free: 9.535 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/68.92, allocations: 4.562 kB / 12.74 GB, free: 9.535 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 1.26/70.18, allocations: 9.215 MB / 12.75 GB, free: 117 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08704/70.27, allocations: 6.281 MB / 12.75 GB, free: 117 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08603/70.35, allocations: 21.32 MB / 12.77 GB, free: 112.8 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01708/70.37, allocations: 7.181 MB / 12.78 GB, free: 111.8 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.04984/70.42, allocations: 6.376 MB / 12.79 GB, free: 111.7 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005077/70.43, allocations: 0.7101 MB / 12.79 GB, free: 111.7 MB / 1.245 GB Notification: Performance of SimCode: time 2.094e-06/70.43, allocations: 0.8125 kB / 12.79 GB, free: 111.7 MB / 1.245 GB Notification: Performance of Templates: time 3.534/73.96, allocations: 437 MB / 13.21 GB, free: 196.8 MB / 1.323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)