Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 175.9 kB / 361.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 97.06 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.67e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7918, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.954, allocations: 464.8 MB / 1.418 GB, free: 98.95 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/1.954, allocations: 100.7 kB / 1.418 GB, free: 98.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 43.85/45.81, allocations: 10.22 GB / 11.64 GB, free: 70.64 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.024e-06/45.81, allocations: 0 / 11.64 GB, free: 70.64 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00368/45.81, allocations: 348.2 kB / 11.64 GB, free: 70.57 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.04573/45.86, allocations: 11.14 MB / 11.65 GB, free: 65.13 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/45.86, allocations: 7.812 kB / 11.65 GB, free: 65.13 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/45.87, allocations: 2.222 MB / 11.65 GB, free: 64.29 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06394/45.94, allocations: 18.62 MB / 11.67 GB, free: 56.52 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007033/45.94, allocations: 202.7 kB / 11.67 GB, free: 56.52 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004406/45.94, allocations: 434.4 kB / 11.67 GB, free: 56.52 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0273/45.97, allocations: 17.89 MB / 11.69 GB, free: 41.48 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02656/46, allocations: 12.21 MB / 11.7 GB, free: 30.13 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/46, allocations: 11.92 kB / 11.7 GB, free: 30.12 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001876/46, allocations: 12 kB / 11.7 GB, free: 30.11 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/46, allocations: 151.9 kB / 11.7 GB, free: 29.96 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 1.144/47.14, allocations: 69.11 MB / 11.77 GB, free: 68.56 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/47.16, allocations: 10.23 MB / 11.78 GB, free: 68.4 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/47.17, allocations: 8.779 MB / 11.79 GB, free: 68.36 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.07308/47.24, allocations: 29.37 MB / 11.82 GB, free: 60.34 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01814/47.26, allocations: 7.996 MB / 11.82 GB, free: 60.23 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04851/47.31, allocations: 15.11 MB / 11.84 GB, free: 60.23 MB / 1.198 GB Notification: Performance of pre-optimization done (n=393): time 7.066e-05/47.31, allocations: 4.594 kB / 11.84 GB, free: 60.23 MB / 1.198 GB Notification: Performance of matching and sorting (n=395): time 0.09977/47.41, allocations: 37.17 MB / 11.88 GB, free: 57.87 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/47.41, allocations: 96.73 kB / 11.88 GB, free: 57.8 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02795/47.44, allocations: 11.14 MB / 11.89 GB, free: 57.14 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.003414/47.44, allocations: 38.89 kB / 11.89 GB, free: 57.11 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.008374/47.45, allocations: 5.982 MB / 11.89 GB, free: 56.12 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00381/47.45, allocations: 1.287 MB / 11.89 GB, free: 55.44 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00276/47.46, allocations: 4.031 kB / 11.89 GB, free: 55.44 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005323/47.46, allocations: 0.5355 MB / 11.89 GB, free: 55.12 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01085/47.47, allocations: 6.912 MB / 11.9 GB, free: 55.11 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01344/47.48, allocations: 9.329 MB / 11.91 GB, free: 52.25 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/47.5, allocations: 7.972 MB / 11.92 GB, free: 52.12 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/47.5, allocations: 14.56 kB / 11.92 GB, free: 52.12 MB / 1.198 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.0623/47.56, allocations: 22.95 MB / 11.94 GB, free: 51.23 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00582/47.56, allocations: 29.53 MB / 11.97 GB, free: 20.54 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/47.56, allocations: 47.59 kB / 11.97 GB, free: 20.54 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7197/48.28, allocations: 167.2 MB / 12.13 GB, free: 7.172 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008312/48.29, allocations: 1.295 MB / 12.13 GB, free: 6.242 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04503/48.34, allocations: 25.51 MB / 12.16 GB, free: 8.004 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01856/48.36, allocations: 0.8143 MB / 12.16 GB, free: 7.473 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004466/48.36, allocations: 0.7275 MB / 12.16 GB, free: 7.055 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/48.36, allocations: 7.797 kB / 12.16 GB, free: 7.051 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05165/48.41, allocations: 20.88 MB / 12.18 GB, free: 11.89 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002668/48.41, allocations: 48.22 kB / 12.18 GB, free: 11.85 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768/50.18, allocations: 167.2 MB / 12.34 GB, free: 112 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00644/50.19, allocations: 1.285 MB / 12.34 GB, free: 112 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04947/50.24, allocations: 28.32 MB / 12.37 GB, free: 109.4 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01657/50.25, allocations: 0.7793 MB / 12.37 GB, free: 109.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003332/50.26, allocations: 0.6887 MB / 12.37 GB, free: 109.4 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 pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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: 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 (560): * Single equations (assignments): 548 * 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: 2 * 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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003763/50.26, allocations: 287.7 kB / 12.37 GB, free: 109.3 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004009/50.26, allocations: 1.136 MB / 12.38 GB, free: 109.3 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03621/50.3, allocations: 17.31 MB / 12.39 GB, free: 108.6 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-05/50.3, allocations: 48.56 kB / 12.39 GB, free: 108.6 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/50.3, allocations: 0 / 12.39 GB, free: 108.6 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01878/50.32, allocations: 12.5 MB / 12.4 GB, free: 108.1 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.1428/50.46, allocations: 45.41 MB / 12.45 GB, free: 102 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.854e-05/50.46, allocations: 0 / 12.45 GB, free: 102 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004134/50.47, allocations: 0.6985 MB / 12.45 GB, free: 102 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2107/50.68, allocations: 47.69 MB / 12.5 GB, free: 100.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001842/50.68, allocations: 74.39 kB / 12.5 GB, free: 100.4 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/50.7, allocations: 13.18 MB / 12.51 GB, free: 91.83 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/50.7, allocations: 0.9375 kB / 12.51 GB, free: 91.83 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1529/50.85, allocations: 41.06 MB / 12.55 GB, free: 69.72 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009585/50.86, allocations: 2.551 MB / 12.55 GB, free: 68.18 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005361/50.87, allocations: 6.688 kB / 12.55 GB, free: 68.18 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01302/50.88, allocations: 0.6124 MB / 12.55 GB, free: 67.78 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/50.88, allocations: 295.7 kB / 12.55 GB, free: 67.64 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0018/50.88, allocations: 198.2 kB / 12.55 GB, free: 67.51 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02489/50.91, allocations: 8.342 MB / 12.56 GB, free: 63.06 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.223e-06/50.91, allocations: 0 / 12.56 GB, free: 63.06 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04567/50.96, allocations: 5.722 MB / 12.57 GB, free: 57.8 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 (324): * Single equations (assignments): 304 * 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: 2 * 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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01038/50.97, allocations: 4.723 MB / 12.57 GB, free: 53.68 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.0602/51.03, allocations: 28.68 MB / 12.6 GB, free: 38.47 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/51.03, allocations: 0 / 12.6 GB, free: 38.47 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01441/51.04, allocations: 7.22 MB / 12.61 GB, free: 34.39 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03428/51.07, allocations: 6.106 MB / 12.61 GB, free: 29.48 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/51.11, allocations: 18.39 MB / 12.63 GB, free: 13.75 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007345/51.12, allocations: 6.781 MB / 12.64 GB, free: 7.492 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02626/51.15, allocations: 5.741 MB / 12.64 GB, free: 2.172 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002846/51.15, allocations: 0.6061 MB / 12.64 GB, free: 1.598 MB / 1.229 GB Notification: Performance of SimCode: time 8.82e-07/51.15, allocations: 0 / 12.64 GB, free: 1.598 MB / 1.229 GB Notification: Performance of Templates: time 2.493/53.64, allocations: 368.6 MB / 13 GB, free: 37.48 MB / 1.245 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)