Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 115.2 kB / 16.38 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 185.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1958, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 0.6194/0.8152, allocations: 356.6 MB / 1.133 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5392/1.354, allocations: 77.3 MB / 1.208 GB, free: 54.97 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02002/1.375, allocations: 441.5 kB / 1.209 GB, free: 54.97 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01927/1.394, allocations: 5.776 MB / 1.215 GB, free: 54.88 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.04199/1.436, allocations: 13.37 MB / 1.228 GB, free: 54.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.03984/1.476, allocations: 13.03 MB / 1.24 GB, free: 53.19 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.06783/1.544, allocations: 39.05 MB / 1.278 GB, free: 35.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04113/1.585, allocations: 20.25 MB / 1.298 GB, free: 19.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04522/1.63, allocations: 17.18 MB / 1.315 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04503/1.675, allocations: 15.95 MB / 1.331 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.01006/1.685, allocations: 1.898 MB / 1.332 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02236/1.708, allocations: 5.848 MB / 1.338 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01054/1.718, allocations: 6.025 MB / 1.344 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02293/1.741, allocations: 10.65 MB / 1.354 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.04781/1.789, allocations: 29.81 MB / 1.384 GB, free: 0 / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.789, allocations: 0 / 1.384 GB, free: 0 / 0.9825 GB Notification: Performance of FrontEnd: time 1.881e-05/1.789, allocations: 0 / 1.384 GB, free: 0 / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001133/1.79, allocations: 128 / 1.384 GB, free: 16 MB / 0.9981 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.06313/1.853, allocations: 22.8 MB / 1.406 GB, free: 9.258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.853, allocations: 11.89 kB / 1.406 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/1.865, allocations: 2.343 MB / 1.408 GB, free: 6.879 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03493/1.9, allocations: 16.01 MB / 1.424 GB, free: 7.152 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008044/1.901, allocations: 0.7007 MB / 1.424 GB, free: 6.453 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004503/1.905, allocations: 1.005 MB / 1.425 GB, free: 5.457 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03744/1.943, allocations: 17.44 MB / 1.442 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003018/1.943, allocations: 15.84 kB / 1.442 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002874/1.946, allocations: 354.1 kB / 1.443 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/1.946, allocations: 215.9 kB / 1.443 GB, free: 2.906 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03624/1.982, allocations: 20.65 MB / 1.463 GB, free: 14.24 MB / 1.076 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.136/2.118, allocations: 80.25 MB / 1.542 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6548/2.773, allocations: 12.92 MB / 1.554 GB, free: 497.4 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01277/2.786, allocations: 9.985 MB / 1.564 GB, free: 496 MB / 1.154 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.07008/2.856, allocations: 34.86 MB / 1.598 GB, free: 479.2 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01578/2.872, allocations: 10 MB / 1.608 GB, free: 475.8 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01955/2.891, allocations: 5.845 MB / 1.613 GB, free: 475.1 MB / 1.154 GB Notification: Performance of pre-optimization done (n=596): time 3.978e-05/2.892, allocations: 1.781 kB / 1.613 GB, free: 475.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=848): time 0.9207/3.812, allocations: 204.1 MB / 1.813 GB, free: 298 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003909/3.813, allocations: 2.53 MB / 1.815 GB, free: 294.9 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02347/3.836, allocations: 15.61 MB / 1.83 GB, free: 279.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.004044/3.84, allocations: 265.4 kB / 1.831 GB, free: 279.2 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.007451/3.848, allocations: 7.536 MB / 1.838 GB, free: 271.7 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.005068/3.853, allocations: 2.949 MB / 1.841 GB, free: 268.8 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01221/3.865, allocations: 3.14 MB / 1.844 GB, free: 265.6 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.65e-05/3.865, allocations: 309.1 kB / 1.844 GB, free: 265.3 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02114/3.886, allocations: 12.17 MB / 1.856 GB, free: 253.2 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02483/3.911, allocations: 15.55 MB / 1.871 GB, free: 236.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0482/3.959, allocations: 26.3 MB / 1.897 GB, free: 209.4 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-05/3.959, allocations: 16 kB / 1.897 GB, free: 209.4 MB / 1.154 GB Notification: Performance of matching and sorting (n=1436) (initialization): time 0.6153/4.575, allocations: 119.6 MB / 2.014 GB, free: 89.77 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/4.575, allocations: 53.64 kB / 2.014 GB, free: 89.71 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/4.575, allocations: 99.92 kB / 2.014 GB, free: 89.61 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302/5.877, allocations: 124.5 MB / 2.136 GB, free: 454.7 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01341/5.891, allocations: 2.53 MB / 2.138 GB, free: 454.7 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1465/6.037, allocations: 86.5 MB / 2.223 GB, free: 417.1 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01735/6.055, allocations: 0.938 MB / 2.223 GB, free: 416.6 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003183/6.058, allocations: 0.8652 MB / 2.224 GB, free: 416.3 MB / 1.155 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02402/6.082, allocations: 15.37 MB / 2.239 GB, free: 401.4 MB / 1.155 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01918/6.101, allocations: 14.97 MB / 2.254 GB, free: 385.1 MB / 1.155 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03731/6.138, allocations: 25.21 MB / 2.279 GB, free: 359.4 MB / 1.155 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.228e-05/6.139, allocations: 12 kB / 2.279 GB, free: 359.4 MB / 1.155 GB Notification: Performance of matching and sorting (n=1436) (initialization_lambda0): time 0.6007/6.739, allocations: 117.5 MB / 2.393 GB, free: 243.1 MB / 1.155 GB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/6.739, allocations: 57.75 kB / 2.393 GB, free: 243 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/6.74, allocations: 95.92 kB / 2.393 GB, free: 242.9 MB / 1.155 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6206/7.36, allocations: 124.3 MB / 2.515 GB, free: 118.8 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/7.372, allocations: 2.496 MB / 2.517 GB, free: 116.3 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1529/7.525, allocations: 93.86 MB / 2.609 GB, free: 22.64 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01625/7.541, allocations: 1.009 MB / 2.61 GB, free: 21.64 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/7.543, allocations: 0.832 MB / 2.611 GB, free: 20.81 MB / 1.155 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,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 (978): * Single equations (assignments): 898 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * 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): 8 systems {1, 1, 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): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(33,119), (33,119)} Notification: Performance of prepare postOptimizeDAE: time 0.003179/7.546, allocations: 0.7945 MB / 2.611 GB, free: 20.02 MB / 1.155 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004225/7.551, allocations: 1.557 MB / 2.613 GB, free: 19.29 MB / 1.155 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5936/8.144, allocations: 53.85 MB / 2.666 GB, free: 457.6 MB / 1.155 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1959/8.34, allocations: 47.71 MB / 2.712 GB, free: 446.9 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.26e-05/8.34, allocations: 0 / 2.712 GB, free: 446.9 MB / 1.155 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008605/8.349, allocations: 3.284 MB / 2.715 GB, free: 445.5 MB / 1.155 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004577/8.354, allocations: 286 kB / 2.716 GB, free: 445.4 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0138/8.367, allocations: 0.7812 MB / 2.716 GB, free: 444.9 MB / 1.155 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005731/8.373, allocations: 1.196 MB / 2.718 GB, free: 444.3 MB / 1.155 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.078/8.451, allocations: 29.48 MB / 2.746 GB, free: 424 MB / 1.155 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05746/8.509, allocations: 31.85 MB / 2.777 GB, free: 393 MB / 1.155 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01531/8.524, allocations: 10 MB / 2.787 GB, free: 383 MB / 1.155 GB Notification: Performance of sorting global known variables: time 0.01639/8.54, allocations: 10.64 MB / 2.798 GB, free: 372.4 MB / 1.155 GB Notification: Performance of Backend: time 4.71e-07/8.541, allocations: 0 / 2.798 GB, free: 372.4 MB / 1.155 GB Notification: Performance of simCode: created initialization part: time 0.09235/8.633, allocations: 41.31 MB / 2.838 GB, free: 331.3 MB / 1.155 GB Notification: Performance of SimCode: time 0.0698/8.703, allocations: 40.97 MB / 2.878 GB, free: 290.8 MB / 1.155 GB Notification: Performance of Templates: time 0.9549/9.658, allocations: 0.4966 GB / 3.375 GB, free: 305.8 MB / 1.155 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)