Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.751/4.751, allocations: 0.5623 GB / 0.5776 GB, free: 3.367 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.002559/0.002559, allocations: 355.8 kB / 0.6447 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 4.131/4.131, allocations: 410.7 MB / 1.113 GB, free: 5.961 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.001809/0.001809, allocations: 183.9 kB / 1.226 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 12 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6968/0.6973, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.087/1.784, allocations: 329.4 MB / 1.783 GB, free: 67.92 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1306/1.915, allocations: 72.14 MB / 1.853 GB, free: 66.79 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01619/1.931, allocations: 372.1 kB / 1.854 GB, free: 66.79 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01984/1.951, allocations: 4.458 MB / 1.858 GB, free: 66.08 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.05235/2.003, allocations: 13.54 MB / 1.871 GB, free: 58.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.04321/2.047, allocations: 11.6 MB / 1.883 GB, free: 52.34 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.05701/2.104, allocations: 42.38 MB / 1.924 GB, free: 18.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02857/2.132, allocations: 15.79 MB / 1.94 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03638/2.169, allocations: 13.52 MB / 1.953 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03948/2.208, allocations: 14.64 MB / 1.967 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.007636/2.216, allocations: 1.062 MB / 1.968 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02198/2.238, allocations: 3.717 MB / 1.972 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.01145/2.249, allocations: 4.898 MB / 1.976 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01038/2.26, allocations: 3.375 MB / 1.98 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.04082/2.301, allocations: 22.08 MB / 2.001 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/2.301, allocations: 0 / 2.001 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.284e-06/2.301, allocations: 0 / 2.001 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0008403/2.302, allocations: 0 / 2.001 GB, free: 6.539 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.08219/2.384, allocations: 20.67 MB / 2.022 GB, free: 1.957 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/2.384, allocations: 11.62 kB / 2.022 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/2.399, allocations: 2.378 MB / 2.024 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04915/2.448, allocations: 15.1 MB / 2.039 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/2.45, allocations: 0.7204 MB / 2.039 GB, free: 52 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005272/2.455, allocations: 0.9943 MB / 2.04 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05301/2.508, allocations: 17.23 MB / 2.057 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003299/2.508, allocations: 7.938 kB / 2.057 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003356/2.512, allocations: 355.5 kB / 2.057 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002938/2.512, allocations: 215.9 kB / 2.058 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05809/2.57, allocations: 20.54 MB / 2.078 GB, free: 8.176 MB / 0.9948 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 1.439/4.009, allocations: 82.7 MB / 2.158 GB, free: 392.7 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02971/4.039, allocations: 12.36 MB / 2.171 GB, free: 387.3 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02292/4.062, allocations: 9.808 MB / 2.18 GB, free: 382.2 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.1008/4.163, allocations: 35.33 MB / 2.215 GB, free: 358.3 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02257/4.185, allocations: 9.683 MB / 2.224 GB, free: 350.5 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04867/4.234, allocations: 9.994 MB / 2.234 GB, free: 341.4 MB / 1.042 GB Notification: Performance of pre-optimization done (n=555): time 4e-05/4.234, allocations: 0 / 2.234 GB, free: 341.4 MB / 1.042 GB Notification: Performance of matching and sorting (n=764): time 1.75/5.984, allocations: 203.9 MB / 2.433 GB, free: 138.1 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005918/5.984, allocations: 2.576 MB / 2.436 GB, free: 134.9 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03106/6.015, allocations: 15.46 MB / 2.451 GB, free: 119.6 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.00411/6.02, allocations: 244.2 kB / 2.451 GB, free: 119.4 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.009532/6.029, allocations: 7.807 MB / 2.458 GB, free: 111.9 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00565/6.035, allocations: 2.661 MB / 2.461 GB, free: 109.2 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002485/6.037, allocations: 199.8 kB / 2.461 GB, free: 109 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0007225/6.038, allocations: 0.7447 MB / 2.462 GB, free: 108.3 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03128/6.069, allocations: 11.02 MB / 2.473 GB, free: 97.24 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03458/6.104, allocations: 14.45 MB / 2.487 GB, free: 81.44 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03521/6.139, allocations: 12.27 MB / 2.499 GB, free: 69.12 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.713e-05/6.139, allocations: 16 kB / 2.499 GB, free: 69.11 MB / 1.042 GB Notification: Performance of matching and sorting (n=1386) (initialization): time 2.583/8.723, allocations: 128.1 MB / 2.624 GB, free: 360.8 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001093/8.724, allocations: 1.797 MB / 2.626 GB, free: 358.4 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003098/8.724, allocations: 101.4 kB / 2.626 GB, free: 358.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339/10.06, allocations: 143.5 MB / 2.766 GB, free: 232.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02581/10.09, allocations: 2.732 MB / 2.769 GB, free: 230 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2528/10.34, allocations: 78.77 MB / 2.846 GB, free: 151.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03184/10.37, allocations: 1.405 MB / 2.847 GB, free: 149.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004982/10.38, allocations: 0.8652 MB / 2.848 GB, free: 148.9 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/10.38, allocations: 4 kB / 2.848 GB, free: 148.9 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.248/11.63, allocations: 126.7 MB / 2.971 GB, free: 21.93 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003985/11.63, allocations: 104.9 kB / 2.972 GB, free: 21.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021/13.65, allocations: 143.3 MB / 3.112 GB, free: 300 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02378/13.67, allocations: 2.71 MB / 3.114 GB, free: 297.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2705/13.94, allocations: 82.75 MB / 3.195 GB, free: 214.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03116/13.97, allocations: 1.389 MB / 3.196 GB, free: 213.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004968/13.98, allocations: 0.8339 MB / 3.197 GB, free: 212.4 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1062): * Single equations (assignments): 984 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01488/13.99, allocations: 4.238 MB / 3.201 GB, free: 208.2 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005552/14, allocations: 1.538 MB / 3.203 GB, free: 207.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3659/14.37, allocations: 51.62 MB / 3.253 GB, free: 156 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3413/14.71, allocations: 45.62 MB / 3.298 GB, free: 110.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-05/14.71, allocations: 0 / 3.298 GB, free: 110.3 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01252/14.72, allocations: 3.346 MB / 3.301 GB, free: 107.8 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00691/14.73, allocations: 275.8 kB / 3.301 GB, free: 107.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02547/14.75, allocations: 1.212 MB / 3.302 GB, free: 106.4 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007421/14.76, allocations: 0.9857 MB / 3.303 GB, free: 105.4 MB / 1.042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1225/14.88, allocations: 26.75 MB / 3.33 GB, free: 78.91 MB / 1.042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08948/14.97, allocations: 29.98 MB / 3.359 GB, free: 48.84 MB / 1.042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02614/15, allocations: 9.378 MB / 3.368 GB, free: 39.45 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02355/15.02, allocations: 10.46 MB / 3.378 GB, free: 29.08 MB / 1.042 GB Notification: Performance of Backend: time 2.595e-06/15.02, allocations: 4 kB / 3.378 GB, free: 29.08 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.8018/15.82, allocations: 38.26 MB / 3.416 GB, free: 373.2 MB / 1.042 GB Notification: Performance of SimCode: time 0.1082/15.93, allocations: 42.62 MB / 3.457 GB, free: 354.7 MB / 1.042 GB Notification: Performance of Templates: time 1.675/17.61, allocations: 461.3 MB / 3.908 GB, free: 324.9 MB / 1.042 GB