Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.576/2.576, 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.002029/0.002029, allocations: 180.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 1.988/1.988, allocations: 205.2 MB / 0.6192 GB, free: 12.15 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.001091/0.001091, allocations: 85.23 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.503e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.7985, allocations: 115.2 MB / 0.9634 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/2.143, allocations: 464 MB / 1.417 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/2.144, allocations: 90.7 kB / 1.417 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 58.37/60.51, allocations: 10.28 GB / 11.7 GB, free: 53.48 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.215e-06/60.51, allocations: 0 / 11.7 GB, free: 53.48 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003636/60.51, allocations: 384.1 kB / 11.7 GB, free: 53.39 MB / 1.214 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.06066/60.57, allocations: 12.11 MB / 11.71 GB, free: 47.89 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/60.57, allocations: 7.875 kB / 11.71 GB, free: 47.89 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/60.59, allocations: 2.183 MB / 11.71 GB, free: 47 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0961/60.69, allocations: 20.07 MB / 11.73 GB, free: 39.75 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008452/60.69, allocations: 226.1 kB / 11.73 GB, free: 39.61 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005949/60.7, allocations: 495.1 kB / 11.73 GB, free: 39.13 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06806/60.76, allocations: 18.34 MB / 11.75 GB, free: 22.46 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04252/60.81, allocations: 12.97 MB / 11.76 GB, free: 10.59 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005227/60.81, allocations: 19.84 kB / 11.76 GB, free: 10.57 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004468/60.81, allocations: 15.92 kB / 11.76 GB, free: 10.56 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003236/60.81, allocations: 180 kB / 11.76 GB, free: 10.38 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 removeSimpleEquations (simulation): time 1.371/62.18, allocations: 73.1 MB / 11.83 GB, free: 39.46 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02324/62.21, allocations: 10.29 MB / 11.84 GB, free: 39.32 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02149/62.23, allocations: 8.808 MB / 11.85 GB, free: 39.26 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.1027/62.33, allocations: 30.15 MB / 11.88 GB, free: 30.62 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0207/62.35, allocations: 7.971 MB / 11.89 GB, free: 30.52 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08339/62.43, allocations: 14.85 MB / 11.91 GB, free: 30.4 MB / 1.214 GB Notification: Performance of pre-optimization done (n=427): time 4.692e-05/62.44, allocations: 0 / 11.91 GB, free: 30.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=429): time 0.137/62.57, allocations: 36.99 MB / 11.94 GB, free: 27.52 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/62.57, allocations: 99.14 kB / 11.94 GB, free: 27.45 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03575/62.61, allocations: 11.85 MB / 11.95 GB, free: 26.78 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.00356/62.61, allocations: 38.83 kB / 11.95 GB, free: 26.75 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01169/62.62, allocations: 6.603 MB / 11.96 GB, free: 25.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004698/62.63, allocations: 1.404 MB / 11.96 GB, free: 24.86 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003332/62.63, allocations: 0.875 kB / 11.96 GB, free: 24.86 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007398/62.63, allocations: 0.5622 MB / 11.96 GB, free: 24.55 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01737/62.65, allocations: 6.937 MB / 11.97 GB, free: 24.53 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02015/62.67, allocations: 9.555 MB / 11.98 GB, free: 21.44 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02387/62.69, allocations: 8.056 MB / 11.99 GB, free: 21.32 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/62.69, allocations: 17.25 kB / 11.99 GB, free: 21.32 MB / 1.214 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.07613/62.77, allocations: 22.81 MB / 12.01 GB, free: 20.38 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01134/62.78, allocations: 34.64 MB / 12.04 GB, free: 16.34 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000297/62.78, allocations: 53 kB / 12.04 GB, free: 16.34 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335/64.12, allocations: 143.5 MB / 12.18 GB, free: 15.27 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01611/64.13, allocations: 1.495 MB / 12.18 GB, free: 15.26 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07121/64.2, allocations: 23.29 MB / 12.21 GB, free: 3.551 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02938/64.23, allocations: 0.8834 MB / 12.21 GB, free: 2.973 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004973/64.24, allocations: 0.7448 MB / 12.21 GB, free: 2.531 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/64.24, allocations: 6.266 kB / 12.21 GB, free: 2.527 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.536/66.78, allocations: 104 MB / 12.31 GB, free: 109.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000259/66.78, allocations: 52.28 kB / 12.31 GB, free: 109.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332/68.11, allocations: 143.6 MB / 12.45 GB, free: 107.8 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/68.12, allocations: 1.48 MB / 12.45 GB, free: 107.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08688/68.21, allocations: 25.92 MB / 12.48 GB, free: 105.1 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02729/68.23, allocations: 0.8484 MB / 12.48 GB, free: 105.1 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004257/68.24, allocations: 0.712 MB / 12.48 GB, free: 105.1 MB / 1.26 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 649 * 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 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006252/68.25, allocations: 294.3 kB / 12.48 GB, free: 105 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0065/68.25, allocations: 1.22 MB / 12.48 GB, free: 105 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06708/68.32, allocations: 17.05 MB / 12.5 GB, free: 104.3 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001398/68.32, allocations: 53.23 kB / 12.5 GB, free: 104.3 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/68.32, allocations: 0 / 12.5 GB, free: 104.3 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03481/68.35, allocations: 12.21 MB / 12.51 GB, free: 103.8 MB / 1.26 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.09083/68.45, allocations: 33.48 MB / 12.54 GB, free: 97.88 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.507e-05/68.45, allocations: 5.438 kB / 12.54 GB, free: 97.87 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008323/68.45, allocations: 0.8 MB / 12.54 GB, free: 97.87 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.336/68.79, allocations: 40.71 MB / 12.58 GB, free: 93.28 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00193/68.79, allocations: 78.36 kB / 12.58 GB, free: 93.25 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03033/68.82, allocations: 11.93 MB / 12.59 GB, free: 85.26 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/68.82, allocations: 3.656 kB / 12.59 GB, free: 85.26 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1614/68.98, allocations: 28.54 MB / 12.62 GB, free: 68.41 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01512/69, allocations: 2.707 MB / 12.62 GB, free: 66.33 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006134/69, allocations: 6.188 kB / 12.62 GB, free: 66.32 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01997/69.02, allocations: 0.6629 MB / 12.62 GB, free: 65.68 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002198/69.03, allocations: 316.6 kB / 12.62 GB, free: 65.41 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001765/69.03, allocations: 230.3 kB / 12.62 GB, free: 65.22 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02537/69.05, allocations: 8.865 MB / 12.63 GB, free: 59.4 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.683e-06/69.05, allocations: 0 / 12.63 GB, free: 59.4 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.08959/69.14, allocations: 6.289 MB / 12.64 GB, free: 53.59 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (373): * Single equations (assignments): 353 * 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 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01492/69.16, allocations: 5.234 MB / 12.64 GB, free: 48.83 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.09321/69.25, allocations: 28.11 MB / 12.67 GB, free: 31.1 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/69.25, allocations: 4.5 kB / 12.67 GB, free: 31.1 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.03358/69.29, allocations: 6.967 MB / 12.68 GB, free: 27.27 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08491/69.37, allocations: 6.646 MB / 12.68 GB, free: 21.96 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06884/69.44, allocations: 20 MB / 12.7 GB, free: 4.82 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01586/69.46, allocations: 7.278 MB / 12.71 GB, free: 14.11 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 2.531/71.99, allocations: 6.116 MB / 12.72 GB, free: 106.9 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004426/71.99, allocations: 0.6868 MB / 12.72 GB, free: 106.9 MB / 1.276 GB Notification: Performance of SimCode: time 1.723e-06/71.99, allocations: 1.203 kB / 12.72 GB, free: 106.9 MB / 1.276 GB Notification: Performance of Templates: time 0.8871/72.88, allocations: 381 MB / 13.09 GB, free: 23.08 MB / 1.276 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)