Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.272/1.272, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 179.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00072/0.0007201, allocations: 91.84 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002776, allocations: 10.19 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1485, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.6122/0.7608, allocations: 353.9 MB / 1.242 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.106/0.8668, allocations: 77.78 MB / 1.318 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01433/0.8812, allocations: 389.2 kB / 1.319 GB, free: 416 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01271/0.8939, allocations: 3.864 MB / 1.322 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.02881/0.9228, allocations: 10.22 MB / 1.332 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01722/0.94, allocations: 7.18 MB / 1.339 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.03884/0.9789, allocations: 38.03 MB / 1.377 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01849/0.9974, allocations: 13.9 MB / 1.39 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8222/1.82, allocations: 10.54 MB / 1.4 GB, free: 23.8 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01701/1.837, allocations: 9.502 MB / 1.41 GB, free: 23.8 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.003635/1.84, allocations: 0.4955 MB / 1.41 GB, free: 23.8 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/1.853, allocations: 3.501 MB / 1.414 GB, free: 23.8 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.005184/1.858, allocations: 2.955 MB / 1.416 GB, free: 23.8 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01189/1.87, allocations: 6.615 MB / 1.423 GB, free: 21.69 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.02166/1.892, allocations: 18.24 MB / 1.441 GB, free: 19.48 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.892, allocations: 3.344 kB / 1.441 GB, free: 19.48 MB / 0.9012 GB Notification: Performance of FrontEnd: time 1.924e-06/1.892, allocations: 2.594 kB / 1.441 GB, free: 19.48 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0007315/1.893, allocations: 0 / 1.441 GB, free: 19.48 MB / 0.9012 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.02932/1.922, allocations: 13.63 MB / 1.454 GB, free: 13.71 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.922, allocations: 8.906 kB / 1.454 GB, free: 13.71 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009264/1.931, allocations: 2.225 MB / 1.456 GB, free: 12.92 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/1.955, allocations: 11.55 MB / 1.468 GB, free: 10.7 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001554/1.957, allocations: 0.7851 MB / 1.468 GB, free: 10.69 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/1.959, allocations: 0.6924 MB / 1.469 GB, free: 10.68 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/1.975, allocations: 8.947 MB / 1.478 GB, free: 9.641 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/1.975, allocations: 17.91 kB / 1.478 GB, free: 9.641 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006189/1.976, allocations: 248.1 kB / 1.478 GB, free: 9.641 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.976, allocations: 151.2 kB / 1.478 GB, free: 9.641 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/1.989, allocations: 7.411 MB / 1.485 GB, free: 9.551 MB / 0.9012 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.05997/2.049, allocations: 50.55 MB / 1.535 GB, free: 11.99 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00831/2.057, allocations: 5.492 MB / 1.54 GB, free: 11.07 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/2.062, allocations: 3.923 MB / 1.544 GB, free: 10.46 MB / 0.9324 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.02682/2.089, allocations: 13.37 MB / 1.557 GB, free: 4.395 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005244/2.095, allocations: 3.697 MB / 1.561 GB, free: 3.359 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007695/2.102, allocations: 1.858 MB / 1.562 GB, free: 2.621 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=320): time 1.254e-05/2.102, allocations: 0 / 1.562 GB, free: 2.621 MB / 0.9324 GB Notification: Performance of matching and sorting (n=506): time 0.1615/2.264, allocations: 51.98 MB / 1.613 GB, free: 9.219 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/2.264, allocations: 105.5 kB / 1.613 GB, free: 9.105 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/2.282, allocations: 12.63 MB / 1.626 GB, free: 15.84 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.001426/2.284, allocations: 158.7 kB / 1.626 GB, free: 15.77 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00509/2.289, allocations: 6.162 MB / 1.632 GB, free: 12.66 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002119/2.291, allocations: 1.706 MB / 1.633 GB, free: 10.97 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/2.292, allocations: 0.668 MB / 1.634 GB, free: 10.3 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/2.292, allocations: 309.1 kB / 1.634 GB, free: 9.992 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01008/2.302, allocations: 5.651 MB / 1.64 GB, free: 4.336 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/2.314, allocations: 8.315 MB / 1.648 GB, free: 10.93 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02342/2.337, allocations: 13.3 MB / 1.661 GB, free: 12.98 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.871e-05/2.337, allocations: 16 kB / 1.661 GB, free: 12.96 MB / 1.026 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03894/2.376, allocations: 18.35 MB / 1.679 GB, free: 11 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001211/2.378, allocations: 1.946 MB / 1.681 GB, free: 8.246 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-05/2.378, allocations: 60 kB / 1.681 GB, free: 8.188 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01507/2.393, allocations: 4.651 MB / 1.685 GB, free: 3.562 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/2.403, allocations: 1.962 MB / 1.687 GB, free: 1.691 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/2.415, allocations: 10.91 MB / 1.698 GB, free: 6.676 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/2.428, allocations: 1.137 MB / 1.699 GB, free: 5.539 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/2.429, allocations: 467.9 kB / 1.7 GB, free: 5.082 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/2.429, allocations: 5.875 kB / 1.7 GB, free: 5.078 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03328/2.463, allocations: 15.77 MB / 1.715 GB, free: 5.703 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/2.463, allocations: 60 kB / 1.715 GB, free: 5.645 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01228/2.475, allocations: 4.383 MB / 1.719 GB, free: 1.277 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009238/2.484, allocations: 1.939 MB / 1.721 GB, free: 15.43 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/2.508, allocations: 15.01 MB / 1.736 GB, free: 156 kB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/2.521, allocations: 1.119 MB / 1.737 GB, free: 15.03 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/2.523, allocations: 442.8 kB / 1.737 GB, free: 14.6 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 731 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (4,81)} Notification: Performance of prepare postOptimizeDAE: time 0.008199/2.531, allocations: 3.103 MB / 1.74 GB, free: 11.58 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00391/2.535, allocations: 1.184 MB / 1.742 GB, free: 10.38 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0352/2.57, allocations: 14.59 MB / 1.756 GB, free: 11.84 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02748/2.598, allocations: 11.95 MB / 1.767 GB, free: 15.89 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/2.598, allocations: 0 / 1.767 GB, free: 15.89 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007154/2.605, allocations: 2.12 MB / 1.77 GB, free: 13.73 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00372/2.609, allocations: 104 kB / 1.77 GB, free: 13.63 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01042/2.619, allocations: 0.976 MB / 1.771 GB, free: 12.66 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001432/2.621, allocations: 0.5506 MB / 1.771 GB, free: 12.1 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0318/2.652, allocations: 13.04 MB / 1.784 GB, free: 15.09 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3645/3.017, allocations: 16.31 MB / 1.8 GB, free: 0.5376 GB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008801/3.026, allocations: 4.709 MB / 1.804 GB, free: 0.5376 GB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01571/3.041, allocations: 8.565 MB / 1.813 GB, free: 0.5372 GB / 1.151 GB Notification: Performance of Backend: time 7.52e-07/3.041, allocations: 0 / 1.813 GB, free: 0.5372 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.03666/3.078, allocations: 17.28 MB / 1.83 GB, free: 0.5336 GB / 1.151 GB Notification: Performance of SimCode: time 0.0442/3.122, allocations: 32.06 MB / 1.861 GB, free: 0.5191 GB / 1.151 GB Notification: Performance of Templates: time 0.3219/3.444, allocations: 281.6 MB / 2.136 GB, free: 266.1 MB / 1.151 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)