Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.456/2.456, allocations: 285 MB / 292.5 MB, free: 10.52 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.00147/0.00147, allocations: 176.9 kB / 360.7 MB, free: 7.234 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.076/2.076, allocations: 205.3 MB / 0.6192 GB, free: 12.12 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.001664/0.001664, allocations: 95.91 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.475e-05, allocations: 4 kB / 0.8509 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.7956, allocations: 115.2 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/2.142, allocations: 465.3 MB / 1.418 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/2.143, allocations: 94.77 kB / 1.418 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 59.51/61.65, allocations: 10.46 GB / 11.87 GB, free: 78.24 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.475e-06/61.65, allocations: 3.656 kB / 11.87 GB, free: 78.24 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004741/61.66, allocations: 349.5 kB / 11.87 GB, free: 78.18 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.05936/61.72, allocations: 11.06 MB / 11.88 GB, free: 73.23 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/61.72, allocations: 13.94 kB / 11.88 GB, free: 73.23 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/61.73, allocations: 2.071 MB / 11.89 GB, free: 72.44 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08221/61.82, allocations: 18.26 MB / 11.9 GB, free: 70.33 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007329/61.82, allocations: 203.4 kB / 11.9 GB, free: 70.33 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003702/61.82, allocations: 435.3 kB / 11.9 GB, free: 70.33 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02303/61.84, allocations: 6.884 MB / 11.91 GB, free: 70.3 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/61.87, allocations: 7.448 MB / 11.92 GB, free: 69.25 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003163/61.87, allocations: 18.06 kB / 11.92 GB, free: 69.25 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/61.87, allocations: 16.56 kB / 11.92 GB, free: 69.25 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/61.87, allocations: 154.5 kB / 11.92 GB, free: 69.25 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.1276/62, allocations: 48.74 MB / 11.97 GB, free: 42.45 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/62.01, allocations: 5.445 MB / 11.97 GB, free: 42.3 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009206/62.02, allocations: 3.963 MB / 11.98 GB, free: 42.22 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 evalFunc (simulation): time 0.05322/62.08, allocations: 13.48 MB / 11.99 GB, free: 39.03 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008017/62.09, allocations: 3.146 MB / 11.99 GB, free: 38.92 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02396/62.11, allocations: 2.284 MB / 11.99 GB, free: 38.61 MB / 1.198 GB Notification: Performance of pre-optimization done (n=326): time 4.502e-05/62.11, allocations: 1.125 kB / 11.99 GB, free: 38.61 MB / 1.198 GB Notification: Performance of matching and sorting (n=328): time 0.08263/62.19, allocations: 15.71 MB / 12.01 GB, free: 35.73 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/62.19, allocations: 91.64 kB / 12.01 GB, free: 35.66 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04277/62.24, allocations: 11.32 MB / 12.02 GB, free: 34.93 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002076/62.24, allocations: 39.83 kB / 12.02 GB, free: 34.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01253/62.25, allocations: 6.176 MB / 12.03 GB, free: 33.44 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002886/62.25, allocations: 1.082 MB / 12.03 GB, free: 32.72 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/62.25, allocations: 4 kB / 12.03 GB, free: 32.71 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006951/62.26, allocations: 0.5346 MB / 12.03 GB, free: 32.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009439/62.26, allocations: 3.042 MB / 12.03 GB, free: 32.38 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01437/62.28, allocations: 5.784 MB / 12.04 GB, free: 28.93 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01787/62.3, allocations: 3.992 MB / 12.04 GB, free: 28.68 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/62.3, allocations: 21.45 kB / 12.04 GB, free: 28.68 MB / 1.198 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.05441/62.35, allocations: 10.75 MB / 12.05 GB, free: 27.43 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.01072/62.36, allocations: 38.34 MB / 12.09 GB, free: 3.363 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002403/62.36, allocations: 66.19 kB / 12.09 GB, free: 3.363 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005026/62.37, allocations: 1.344 MB / 12.09 GB, free: 3.281 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01504/62.38, allocations: 1.398 MB / 12.09 GB, free: 3.188 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/62.4, allocations: 9.706 MB / 12.1 GB, free: 12.93 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02077/62.42, allocations: 0.7441 MB / 12.1 GB, free: 12.82 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002293/62.42, allocations: 417.6 kB / 12.1 GB, free: 12.77 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/62.42, allocations: 4.031 kB / 12.1 GB, free: 12.77 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03185/62.45, allocations: 8.516 MB / 12.11 GB, free: 10.03 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/62.45, allocations: 57.06 kB / 12.11 GB, free: 10.03 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006995/62.46, allocations: 1.474 MB / 12.11 GB, free: 9.707 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/62.48, allocations: 1.382 MB / 12.11 GB, free: 9.582 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04549/62.52, allocations: 12.55 MB / 12.13 GB, free: 2.039 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02443/62.55, allocations: 0.7138 MB / 12.13 GB, free: 1.941 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002809/62.55, allocations: 376.7 kB / 12.13 GB, free: 1.895 MB / 1.229 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (640): * Single equations (assignments): 625 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * 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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.005006/62.55, allocations: 318.5 kB / 12.13 GB, free: 1.633 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006399/62.56, allocations: 1.134 MB / 12.13 GB, free: 0.75 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217/63.78, allocations: 7.801 MB / 12.14 GB, free: 113.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.483e-05/63.78, allocations: 40.64 kB / 12.14 GB, free: 113.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/63.78, allocations: 0.75 kB / 12.14 GB, free: 113.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01903/63.8, allocations: 5.75 MB / 12.14 GB, free: 113.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.05487/63.85, allocations: 16.18 MB / 12.16 GB, free: 112.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/63.85, allocations: 5.438 kB / 12.16 GB, free: 112.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006624/63.86, allocations: 0.6073 MB / 12.16 GB, free: 112.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004386/63.86, allocations: 1.124 MB / 12.16 GB, free: 112.1 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009892/63.86, allocations: 59.97 kB / 12.16 GB, free: 112.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008953/63.87, allocations: 8.099 MB / 12.17 GB, free: 106.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/63.87, allocations: 2.812 kB / 12.17 GB, free: 106.6 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03074/63.9, allocations: 10.49 MB / 12.18 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01084/63.91, allocations: 2.153 MB / 12.18 GB, free: 105.7 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005471/63.92, allocations: 5.453 kB / 12.18 GB, free: 105.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01652/63.94, allocations: 0.6171 MB / 12.18 GB, free: 105.7 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/63.94, allocations: 229 kB / 12.18 GB, free: 105.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001134/63.94, allocations: 167.7 kB / 12.18 GB, free: 105.7 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02666/63.97, allocations: 8.457 MB / 12.19 GB, free: 105.3 MB / 1.229 GB Notification: Performance of sort global known variables: time 9.01e-07/63.97, allocations: 0 / 12.19 GB, free: 105.3 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05326/64.02, allocations: 5.166 MB / 12.19 GB, free: 105.3 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (274): * Single equations (assignments): 251 * 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: 5 * 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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/64.03, allocations: 4.728 MB / 12.2 GB, free: 103.5 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.03402/64.06, allocations: 11.95 MB / 12.21 GB, free: 103.1 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/64.06, allocations: 4.062 kB / 12.21 GB, free: 103.1 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.008017/64.07, allocations: 2.67 MB / 12.21 GB, free: 103 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05032/64.12, allocations: 5.827 MB / 12.22 GB, free: 103 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05067/64.17, allocations: 16.55 MB / 12.23 GB, free: 99.18 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01588/64.19, allocations: 6.693 MB / 12.24 GB, free: 98.22 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04431/64.23, allocations: 5.842 MB / 12.25 GB, free: 98.11 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003453/64.24, allocations: 0.5617 MB / 12.25 GB, free: 98.11 MB / 1.229 GB Notification: Performance of SimCode: time 1.383e-06/64.24, allocations: 0 / 12.25 GB, free: 98.11 MB / 1.229 GB Notification: Performance of Templates: time 0.6446/64.88, allocations: 234.4 MB / 12.48 GB, free: 58.8 MB / 1.229 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)