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.185/2.185, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 188.1 kB / 325.6 MB, free: 2.789 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.312/2.312, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001171/0.001171, allocations: 104.1 kB / 0.6811 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004565, allocations: 11.59 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2533, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/1.607, allocations: 457.1 MB / 1.345 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/1.608, allocations: 105.3 kB / 1.345 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 57.34/58.94, allocations: 10.07 GB / 11.42 GB, free: 71.68 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.876e-06/58.94, allocations: 0 / 11.42 GB, free: 71.68 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003563/58.95, allocations: 385.6 kB / 11.42 GB, free: 71.61 MB / 1.167 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.0997/59.05, allocations: 18.7 MB / 11.44 GB, free: 65.16 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/59.05, allocations: 10.48 kB / 11.44 GB, free: 65.16 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/59.07, allocations: 2.183 MB / 11.44 GB, free: 64.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09445/59.16, allocations: 20.26 MB / 11.46 GB, free: 62.03 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001233/59.16, allocations: 0.6005 MB / 11.46 GB, free: 62.02 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005445/59.17, allocations: 0.8089 MB / 11.46 GB, free: 62.02 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05036/59.22, allocations: 14.17 MB / 11.47 GB, free: 61.23 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006044/59.22, allocations: 19.25 kB / 11.47 GB, free: 61.22 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004517/59.22, allocations: 290.3 kB / 11.47 GB, free: 61.22 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002654/59.22, allocations: 184.8 kB / 11.47 GB, free: 61.22 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05348/59.28, allocations: 18.42 MB / 11.49 GB, free: 61.16 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1774/59.45, allocations: 74.08 MB / 11.56 GB, free: 27.42 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0244/59.48, allocations: 9.739 MB / 11.57 GB, free: 27.25 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.08501/59.56, allocations: 29.8 MB / 11.6 GB, free: 18.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02282/59.59, allocations: 8.209 MB / 11.61 GB, free: 18.68 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07621/59.66, allocations: 14.74 MB / 11.62 GB, free: 18.45 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 3.682e-05/59.66, allocations: 0 / 11.62 GB, free: 18.45 MB / 1.167 GB Notification: Performance of matching and sorting (n=616): time 0.7066/60.37, allocations: 105.2 MB / 11.73 GB, free: 8.773 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/60.37, allocations: 117.5 kB / 11.73 GB, free: 8.703 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03919/60.41, allocations: 12.75 MB / 11.74 GB, free: 7.969 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004179/60.41, allocations: 195.5 kB / 11.74 GB, free: 7.938 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0115/60.42, allocations: 6.664 MB / 11.75 GB, free: 6.41 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005527/60.43, allocations: 2.08 MB / 11.75 GB, free: 5.066 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004225/60.43, allocations: 158.2 kB / 11.75 GB, free: 5.066 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0008215/60.44, allocations: 0.618 MB / 11.75 GB, free: 4.746 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02601/60.46, allocations: 8.306 MB / 11.76 GB, free: 4.703 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02905/60.49, allocations: 11.1 MB / 11.77 GB, free: 1.402 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0335/60.52, allocations: 9.461 MB / 11.78 GB, free: 14.14 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-05/60.52, allocations: 18 kB / 11.78 GB, free: 14.14 MB / 1.182 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.1007/60.62, allocations: 27.05 MB / 11.8 GB, free: 4.223 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.174/61.8, allocations: 34.78 MB / 11.84 GB, free: 111.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/61.8, allocations: 53.69 kB / 11.84 GB, free: 111.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342/63.14, allocations: 146.8 MB / 11.98 GB, free: 111.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0201/63.16, allocations: 1.877 MB / 11.98 GB, free: 111.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07731/63.24, allocations: 24.82 MB / 12.01 GB, free: 106 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03284/63.27, allocations: 1.288 MB / 12.01 GB, free: 106 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005146/63.28, allocations: 0.8174 MB / 12.01 GB, free: 106 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/63.28, allocations: 3.906 kB / 12.01 GB, free: 106 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09438/63.37, allocations: 25.99 MB / 12.03 GB, free: 105.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000289/63.37, allocations: 54.75 kB / 12.03 GB, free: 105.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332/64.7, allocations: 147.2 MB / 12.18 GB, free: 59.34 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01664/64.72, allocations: 1.864 MB / 12.18 GB, free: 57.61 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09279/64.81, allocations: 29.52 MB / 12.21 GB, free: 35.59 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0312/64.84, allocations: 1.256 MB / 12.21 GB, free: 34.53 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004952/64.85, allocations: 0.7746 MB / 12.21 GB, free: 33.82 MB / 1.214 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 744 * 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 {32 38,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01619/64.87, allocations: 3.352 MB / 12.21 GB, free: 31.8 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007463/64.87, allocations: 1.285 MB / 12.22 GB, free: 31.21 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.352/65.23, allocations: 46.75 MB / 12.26 GB, free: 9.469 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002147/65.23, allocations: 72 kB / 12.26 GB, free: 9.398 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/65.23, allocations: 3.984 kB / 12.26 GB, free: 9.395 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5/66.73, allocations: 41.17 MB / 12.3 GB, free: 132.6 MB / 1.245 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1871/66.91, allocations: 48.08 MB / 12.35 GB, free: 126.4 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001237/66.91, allocations: 7.438 kB / 12.35 GB, free: 126.4 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01233/66.92, allocations: 1.284 MB / 12.35 GB, free: 126.4 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3455/67.27, allocations: 42.03 MB / 12.39 GB, free: 126.3 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002176/67.27, allocations: 201 kB / 12.39 GB, free: 126.3 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03535/67.31, allocations: 13.76 MB / 12.4 GB, free: 121.1 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/67.31, allocations: 10.66 kB / 12.4 GB, free: 121.1 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2873/67.6, allocations: 44.43 MB / 12.45 GB, free: 117.7 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01351/67.61, allocations: 3.071 MB / 12.45 GB, free: 117.6 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006522/67.62, allocations: 129.6 kB / 12.45 GB, free: 117.6 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02268/67.64, allocations: 0.985 MB / 12.45 GB, free: 117.6 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002853/67.64, allocations: 476.5 kB / 12.45 GB, free: 117.6 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001841/67.64, allocations: 298.6 kB / 12.45 GB, free: 117.6 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02801/67.67, allocations: 9.743 MB / 12.46 GB, free: 117.2 MB / 1.245 GB Notification: Performance of sort global known variables: time 7.92e-07/67.67, allocations: 0 / 12.46 GB, free: 117.2 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.07602/67.75, allocations: 7.154 MB / 12.47 GB, free: 117.2 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 514 * 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 {8 74,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01373/67.76, allocations: 5.54 MB / 12.47 GB, free: 115.2 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.1265/67.89, allocations: 33.96 MB / 12.51 GB, free: 114.5 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/67.89, allocations: 3.438 kB / 12.51 GB, free: 114.5 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.03371/67.92, allocations: 9.366 MB / 12.52 GB, free: 114.4 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05843/67.98, allocations: 6.797 MB / 12.52 GB, free: 114.3 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08538/68.07, allocations: 32.03 MB / 12.55 GB, free: 102.5 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0182/68.08, allocations: 7.648 MB / 12.56 GB, free: 101.5 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03489/68.12, allocations: 4.06 MB / 12.57 GB, free: 101.2 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007938/68.13, allocations: 1.095 MB / 12.57 GB, free: 101.2 MB / 1.245 GB Notification: Performance of SimCode: time 1.543e-06/68.13, allocations: 0 / 12.57 GB, free: 101.2 MB / 1.245 GB Notification: Performance of Templates: time 2.22/70.35, allocations: 419.1 MB / 12.98 GB, free: 125.1 MB / 1.245 GB