Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified5.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.502/4.502, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002434/0.002433, allocations: 358.4 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.803/3.803, allocations: 410.7 MB / 1.112 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 182.5 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004819, allocations: 12 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5628, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.8941/1.457, allocations: 329.5 MB / 1.782 GB, free: 67.78 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1115/1.568, allocations: 72.14 MB / 1.853 GB, free: 66.77 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0146/1.583, allocations: 371.3 kB / 1.853 GB, free: 66.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01535/1.598, allocations: 4.452 MB / 1.858 GB, free: 66.06 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.04429/1.643, allocations: 13.55 MB / 1.871 GB, free: 58.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.03559/1.678, allocations: 11.59 MB / 1.882 GB, free: 52.31 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.03716/1.716, allocations: 32.65 MB / 1.914 GB, free: 27.68 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01907/1.735, allocations: 13.6 MB / 1.927 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02172/1.756, allocations: 11.45 MB / 1.939 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0246/1.781, allocations: 12.54 MB / 1.951 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.004535/1.786, allocations: 0.9648 MB / 1.952 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01441/1.8, allocations: 3.322 MB / 1.955 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.007001/1.807, allocations: 4.022 MB / 1.959 GB, free: 160 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.006754/1.814, allocations: 2.631 MB / 1.961 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02664/1.841, allocations: 17.39 MB / 1.978 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.944e-06/1.841, allocations: 0 / 1.978 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.214e-06/1.841, allocations: 0 / 1.978 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000375/1.841, allocations: 0 / 1.978 GB, free: 12.89 MB / 0.9011 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.04798/1.889, allocations: 17.09 MB / 1.995 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.889, allocations: 11.62 kB / 1.995 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/1.901, allocations: 2.378 MB / 1.997 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0331/1.934, allocations: 12.11 MB / 2.009 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002047/1.936, allocations: 0.7795 MB / 2.01 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003023/1.939, allocations: 0.6913 MB / 2.011 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03396/1.973, allocations: 14.03 MB / 2.024 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/1.974, allocations: 4 kB / 2.024 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/1.975, allocations: 247.9 kB / 2.025 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/1.975, allocations: 155.1 kB / 2.025 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04444/2.02, allocations: 19 MB / 2.043 GB, free: 10.55 MB / 0.9636 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.1466/2.166, allocations: 73.4 MB / 2.115 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/2.19, allocations: 10.62 MB / 2.125 GB, free: 3.809 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.082/3.271, allocations: 9.14 MB / 2.134 GB, free: 422.9 MB / 1.042 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.07065/3.342, allocations: 31.88 MB / 2.166 GB, free: 406.6 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01712/3.359, allocations: 8.89 MB / 2.174 GB, free: 401.2 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03354/3.393, allocations: 9.953 MB / 2.184 GB, free: 397.9 MB / 1.042 GB Notification: Performance of pre-optimization done (n=387): time 2.522e-05/3.393, allocations: 0 / 2.184 GB, free: 397.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=573): time 1.148/4.541, allocations: 219.6 MB / 2.398 GB, free: 180.3 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/4.541, allocations: 115.9 kB / 2.398 GB, free: 180.2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01937/4.56, allocations: 12.28 MB / 2.41 GB, free: 168 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002494/4.563, allocations: 177.5 kB / 2.411 GB, free: 167.9 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.005569/4.568, allocations: 5.94 MB / 2.416 GB, free: 162.2 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003514/4.572, allocations: 1.928 MB / 2.418 GB, free: 160.3 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/4.573, allocations: 148 kB / 2.418 GB, free: 160.1 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0004126/4.574, allocations: 0.5925 MB / 2.419 GB, free: 159.5 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0215/4.595, allocations: 9.398 MB / 2.428 GB, free: 150.1 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02281/4.618, allocations: 11.72 MB / 2.44 GB, free: 137.4 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02308/4.641, allocations: 10.2 MB / 2.45 GB, free: 127.2 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.305e-05/4.641, allocations: 12 kB / 2.45 GB, free: 127.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=958) (initialization): time 1.364/6.005, allocations: 139.3 MB / 2.586 GB, free: 376.1 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000766/6.005, allocations: 1.527 MB / 2.587 GB, free: 374.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.438e-05/6.006, allocations: 50.84 kB / 2.587 GB, free: 374.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9557/6.961, allocations: 166.1 MB / 2.749 GB, free: 249.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01287/6.974, allocations: 1.945 MB / 2.751 GB, free: 247.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2204/7.195, allocations: 95.44 MB / 2.845 GB, free: 151.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01893/7.213, allocations: 1.216 MB / 2.846 GB, free: 150.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003343/7.217, allocations: 0.7684 MB / 2.846 GB, free: 149.9 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/7.217, allocations: 7.938 kB / 2.846 GB, free: 149.9 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.411/8.628, allocations: 138.2 MB / 2.981 GB, free: 351.8 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/8.628, allocations: 42.81 kB / 2.981 GB, free: 351.8 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9178/9.546, allocations: 165.8 MB / 3.143 GB, free: 269.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01208/9.558, allocations: 1.922 MB / 3.145 GB, free: 267.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2362/9.794, allocations: 99.54 MB / 3.243 GB, free: 168.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01866/9.813, allocations: 1.204 MB / 3.244 GB, free: 167 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003414/9.817, allocations: 0.7372 MB / 3.244 GB, free: 166.2 MB / 1.042 GB 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,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$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 (683): * Single equations (assignments): 669 * 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: 1 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.009713/9.826, allocations: 3.081 MB / 3.247 GB, free: 163.2 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003772/9.83, allocations: 1.19 MB / 3.249 GB, free: 162.7 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2579/10.09, allocations: 53.55 MB / 3.301 GB, free: 109.2 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.956e-05/10.09, allocations: 72 kB / 3.301 GB, free: 109.1 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001562/10.09, allocations: 36 kB / 3.301 GB, free: 109.1 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2365/10.32, allocations: 47.97 MB / 3.348 GB, free: 60.99 MB / 1.042 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.8492/11.17, allocations: 67.58 MB / 3.414 GB, free: 353.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.38e-05/11.17, allocations: 7.875 kB / 3.414 GB, free: 353.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01021/11.18, allocations: 1.347 MB / 3.415 GB, free: 353.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2763/11.46, allocations: 49.25 MB / 3.463 GB, free: 353.2 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001806/11.46, allocations: 203.2 kB / 3.463 GB, free: 353.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1075/11.57, allocations: 41.39 MB / 3.504 GB, free: 323 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.93e-06/11.57, allocations: 16 kB / 3.504 GB, free: 323 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2608/11.83, allocations: 60.48 MB / 3.563 GB, free: 263.7 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009084/11.84, allocations: 2.688 MB / 3.566 GB, free: 261.6 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003479/11.84, allocations: 128 kB / 3.566 GB, free: 261.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01441/11.86, allocations: 1.028 MB / 3.567 GB, free: 260.6 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002895/11.86, allocations: 497.5 kB / 3.567 GB, free: 260.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001335/11.86, allocations: 275.8 kB / 3.567 GB, free: 259.8 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01618/11.88, allocations: 8.327 MB / 3.576 GB, free: 251.5 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.261e-06/11.88, allocations: 0 / 3.576 GB, free: 251.5 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04137/11.92, allocations: 6.881 MB / 3.582 GB, free: 244.7 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,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 (504): * Single equations (assignments): 482 * 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: 4 * 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: 1 {(31,84.4%) 40} * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.003989/11.92, allocations: 1.295 MB / 3.584 GB, free: 243.8 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1011/12.03, allocations: 38.36 MB / 3.621 GB, free: 205.6 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/12.03, allocations: 3.969 kB / 3.621 GB, free: 205.6 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0284/12.05, allocations: 10.88 MB / 3.632 GB, free: 194.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.036/12.09, allocations: 6.38 MB / 3.638 GB, free: 189 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05912/12.15, allocations: 30.87 MB / 3.668 GB, free: 158.6 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01168/12.16, allocations: 7.333 MB / 3.675 GB, free: 151.3 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02214/12.18, allocations: 3.736 MB / 3.679 GB, free: 147.8 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004422/12.19, allocations: 0.952 MB / 3.68 GB, free: 146.8 MB / 1.042 GB Notification: Performance of SimCode: time 2.689e-06/12.19, allocations: 3.938 kB / 3.68 GB, free: 146.8 MB / 1.042 GB Notification: Performance of Templates: time 1.288/13.48, allocations: 393.9 MB / 4.064 GB, free: 170.6 MB / 1.042 GB