Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.34/2.34, allocations: 253.1 MB / 260.6 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 178.1 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.6 MB / 0.5709 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 90.69 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.637e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.197, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.049/2.246, allocations: 457.3 MB / 1.335 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004566/2.247, allocations: 91.02 kB / 1.335 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 56.73/58.98, allocations: 9.995 GB / 11.33 GB, free: 82.04 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.555e-06/58.98, allocations: 1.312 kB / 11.33 GB, free: 82.04 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.003755/58.98, allocations: 388.4 kB / 11.33 GB, free: 81.96 MB / 1.151 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.06045/59.04, allocations: 12.1 MB / 11.34 GB, free: 76.54 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/59.04, allocations: 11.16 kB / 11.34 GB, free: 76.54 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01831/59.06, allocations: 2.187 MB / 11.34 GB, free: 75.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09266/59.15, allocations: 20.04 MB / 11.36 GB, free: 73.13 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/59.15, allocations: 225.4 kB / 11.36 GB, free: 73.13 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004734/59.16, allocations: 494.3 kB / 11.36 GB, free: 73.13 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04352/59.2, allocations: 18.29 MB / 11.38 GB, free: 73.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04267/59.24, allocations: 12.92 MB / 11.4 GB, free: 72.28 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004634/59.24, allocations: 11.62 kB / 11.4 GB, free: 72.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003806/59.25, allocations: 6.031 kB / 11.4 GB, free: 72.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002424/59.25, allocations: 189.2 kB / 11.4 GB, free: 72.27 MB / 1.151 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.1787/59.43, allocations: 72.97 MB / 11.47 GB, free: 37.44 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02126/59.45, allocations: 10.22 MB / 11.48 GB, free: 32.55 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01814/59.47, allocations: 8.778 MB / 11.49 GB, free: 28.64 MB / 1.151 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.09475/59.56, allocations: 30.04 MB / 11.51 GB, free: 11.51 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01816/59.58, allocations: 7.918 MB / 11.52 GB, free: 5.48 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1189/59.7, allocations: 17.13 MB / 11.54 GB, free: 15.84 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 4.908e-05/59.7, allocations: 6.906 kB / 11.54 GB, free: 15.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=429): time 1.337/61.04, allocations: 36.84 MB / 11.58 GB, free: 103.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/61.04, allocations: 99.94 kB / 11.58 GB, free: 103.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05471/61.09, allocations: 11.85 MB / 11.59 GB, free: 102.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003505/61.09, allocations: 38.92 kB / 11.59 GB, free: 102.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01249/61.11, allocations: 6.608 MB / 11.59 GB, free: 101.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004765/61.11, allocations: 1.411 MB / 11.59 GB, free: 101 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003455/61.11, allocations: 0.5312 kB / 11.59 GB, free: 101 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007859/61.12, allocations: 0.5655 MB / 11.6 GB, free: 100.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01763/61.13, allocations: 6.906 MB / 11.6 GB, free: 100.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01992/61.15, allocations: 9.523 MB / 11.61 GB, free: 97.59 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02352/61.18, allocations: 8.034 MB / 11.62 GB, free: 97.47 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/61.18, allocations: 16.59 kB / 11.62 GB, free: 97.47 MB / 1.167 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.0817/61.26, allocations: 22.75 MB / 11.64 GB, free: 96.54 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007109/61.27, allocations: 34.64 MB / 11.68 GB, free: 60.49 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002864/61.27, allocations: 54.89 kB / 11.68 GB, free: 60.49 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363/62.63, allocations: 143.5 MB / 11.82 GB, free: 59.98 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01587/62.65, allocations: 1.496 MB / 11.82 GB, free: 59.97 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06812/62.71, allocations: 23.28 MB / 11.84 GB, free: 55.87 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02868/62.74, allocations: 0.8815 MB / 11.84 GB, free: 55.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004421/62.75, allocations: 0.7443 MB / 11.84 GB, free: 55.77 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/62.75, allocations: 3.75 kB / 11.84 GB, free: 55.77 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.156/63.9, allocations: 102.9 MB / 11.94 GB, free: 15.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002736/63.9, allocations: 52 kB / 11.94 GB, free: 15.05 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528/66.43, allocations: 143.6 MB / 12.08 GB, free: 147 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01306/66.44, allocations: 1.476 MB / 12.08 GB, free: 147 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08772/66.53, allocations: 25.93 MB / 12.11 GB, free: 144.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02743/66.56, allocations: 0.8484 MB / 12.11 GB, free: 144.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004305/66.56, allocations: 0.7027 MB / 12.11 GB, free: 144.4 MB / 1.214 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.006091/66.57, allocations: 303.6 kB / 12.11 GB, free: 144.3 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006979/66.58, allocations: 1.219 MB / 12.11 GB, free: 144.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06284/66.64, allocations: 16.97 MB / 12.13 GB, free: 143.7 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001391/66.64, allocations: 53.02 kB / 12.13 GB, free: 143.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/66.64, allocations: 3.953 kB / 12.13 GB, free: 143.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03665/66.68, allocations: 12.14 MB / 12.14 GB, free: 143.3 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 postOpt removeSimpleEquations (simulation): time 0.09558/66.77, allocations: 33.34 MB / 12.17 GB, free: 137.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.289e-05/66.77, allocations: 3.156 kB / 12.17 GB, free: 137.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008215/66.78, allocations: 0.8013 MB / 12.17 GB, free: 137.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.335/67.12, allocations: 40.71 MB / 12.21 GB, free: 137.3 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001826/67.12, allocations: 84.28 kB / 12.21 GB, free: 137.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0312/67.15, allocations: 11.92 MB / 12.23 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/67.15, allocations: 0 / 12.23 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1377/67.29, allocations: 28.42 MB / 12.25 GB, free: 131.4 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01386/67.3, allocations: 2.676 MB / 12.26 GB, free: 130.7 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009757/67.31, allocations: 9.859 kB / 12.26 GB, free: 130.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02205/67.33, allocations: 0.6639 MB / 12.26 GB, free: 130.6 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002251/67.34, allocations: 318 kB / 12.26 GB, free: 130.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001435/67.34, allocations: 213.4 kB / 12.26 GB, free: 130.6 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02468/67.36, allocations: 8.866 MB / 12.27 GB, free: 130.3 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.784e-06/67.36, allocations: 3.75 kB / 12.27 GB, free: 130.3 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06508/67.43, allocations: 6.266 MB / 12.27 GB, free: 130.3 MB / 1.214 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.01256/67.44, allocations: 5.208 MB / 12.28 GB, free: 128.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.09515/67.53, allocations: 28.03 MB / 12.3 GB, free: 124.3 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/67.53, allocations: 4 kB / 12.3 GB, free: 124.3 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.0223/67.56, allocations: 6.934 MB / 12.31 GB, free: 120.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05781/67.61, allocations: 6.63 MB / 12.32 GB, free: 117.2 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05937/67.67, allocations: 19.98 MB / 12.34 GB, free: 102 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01508/67.69, allocations: 7.275 MB / 12.34 GB, free: 97.62 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04433/67.73, allocations: 6.104 MB / 12.35 GB, free: 93.66 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003741/67.74, allocations: 0.6843 MB / 12.35 GB, free: 93.1 MB / 1.214 GB Notification: Performance of SimCode: time 1.282e-06/67.74, allocations: 0 / 12.35 GB, free: 93.1 MB / 1.214 GB Notification: Performance of Templates: time 3.231/70.97, allocations: 380 MB / 12.72 GB, free: 96.13 MB / 1.214 GB