Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.719/2.719, allocations: 287.5 MB / 302.4 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 189.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009913/0.0009911, allocations: 94.28 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005097, allocations: 15.84 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2088, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 1.154/1.363, allocations: 329.6 MB / 1.3 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1577/1.521, allocations: 72.93 MB / 1.371 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01678/1.538, allocations: 377.2 kB / 1.372 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01635/1.554, allocations: 3.14 MB / 1.375 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.038/1.592, allocations: 8.844 MB / 1.383 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02613/1.619, allocations: 6.024 MB / 1.389 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.05623/1.675, allocations: 32.58 MB / 1.421 GB, free: 9.992 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8496/2.524, allocations: 14.15 MB / 1.435 GB, free: 49.59 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03704/2.562, allocations: 11.82 MB / 1.447 GB, free: 49.59 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03701/2.599, allocations: 12.53 MB / 1.459 GB, free: 49.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.00895/2.608, allocations: 0.9649 MB / 1.46 GB, free: 49.58 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02276/2.63, allocations: 3.333 MB / 1.463 GB, free: 49.58 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01163/2.642, allocations: 4.02 MB / 1.467 GB, free: 49.58 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01086/2.653, allocations: 2.632 MB / 1.469 GB, free: 49.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03212/2.685, allocations: 17.47 MB / 1.487 GB, free: 48.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/2.685, allocations: 0 / 1.487 GB, free: 48.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.637e-06/2.685, allocations: 0 / 1.487 GB, free: 48.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007973/2.686, allocations: 3.562 kB / 1.487 GB, free: 48.55 MB / 0.948 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.07194/2.758, allocations: 17.09 MB / 1.503 GB, free: 42.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/2.758, allocations: 9.844 kB / 1.503 GB, free: 42.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/2.777, allocations: 2.371 MB / 1.506 GB, free: 41.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04201/2.82, allocations: 12.1 MB / 1.517 GB, free: 40.03 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002977/2.823, allocations: 0.7882 MB / 1.518 GB, free: 39.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00539/2.828, allocations: 0.6875 MB / 1.519 GB, free: 39.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04932/2.877, allocations: 14.03 MB / 1.533 GB, free: 37.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003462/2.878, allocations: 12.47 kB / 1.533 GB, free: 37.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004518/2.882, allocations: 242.4 kB / 1.533 GB, free: 37.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/2.883, allocations: 151.3 kB / 1.533 GB, free: 37.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05342/2.936, allocations: 19.01 MB / 1.551 GB, free: 34.46 MB / 0.948 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.1827/3.119, allocations: 73.42 MB / 1.623 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02938/3.148, allocations: 10.61 MB / 1.634 GB, free: 6.438 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02414/3.172, allocations: 9.14 MB / 1.642 GB, free: 1.062 MB / 0.9792 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.1055/3.278, allocations: 31.88 MB / 1.674 GB, free: 8.359 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02664/3.305, allocations: 8.892 MB / 1.682 GB, free: 2.34 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05472/3.359, allocations: 9.952 MB / 1.692 GB, free: 9.082 MB / 1.026 GB Notification: Performance of pre-optimization done (n=387): time 3.502e-05/3.36, allocations: 0 / 1.692 GB, free: 9.082 MB / 1.026 GB Notification: Performance of matching and sorting (n=573): time 2.832/6.191, allocations: 219.6 MB / 1.906 GB, free: 0.4939 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/6.191, allocations: 112.8 kB / 1.907 GB, free: 0.4938 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03139/6.223, allocations: 12.28 MB / 1.919 GB, free: 499.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004248/6.227, allocations: 169.2 kB / 1.919 GB, free: 499.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009148/6.236, allocations: 5.956 MB / 1.925 GB, free: 495.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005465/6.242, allocations: 1.929 MB / 1.926 GB, free: 494.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004256/6.246, allocations: 145.8 kB / 1.927 GB, free: 494.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007341/6.247, allocations: 0.5994 MB / 1.927 GB, free: 494.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03105/6.278, allocations: 9.386 MB / 1.936 GB, free: 489.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03293/6.311, allocations: 11.71 MB / 1.948 GB, free: 481 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03265/6.343, allocations: 10.21 MB / 1.958 GB, free: 475.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.924e-05/6.344, allocations: 22.19 kB / 1.958 GB, free: 475.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=958) (initialization): time 1.462/7.806, allocations: 139.3 MB / 2.094 GB, free: 342.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008979/7.807, allocations: 1.54 MB / 2.095 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/7.807, allocations: 44 kB / 2.095 GB, free: 340.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539/9.345, allocations: 166.1 MB / 2.258 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02053/9.366, allocations: 1.942 MB / 2.259 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3484/9.714, allocations: 95.44 MB / 2.353 GB, free: 76.33 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03071/9.745, allocations: 1.201 MB / 2.354 GB, free: 75.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005213/9.751, allocations: 0.7762 MB / 2.355 GB, free: 74.37 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/9.751, allocations: 8 kB / 2.355 GB, free: 74.36 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.149/11.9, allocations: 138.2 MB / 2.49 GB, free: 471.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/11.9, allocations: 45.66 kB / 2.49 GB, free: 471.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55/13.45, allocations: 165.8 MB / 2.652 GB, free: 328.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01824/13.47, allocations: 1.926 MB / 2.653 GB, free: 326.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3779/13.85, allocations: 99.55 MB / 2.751 GB, free: 226.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0296/13.88, allocations: 1.198 MB / 2.752 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004991/13.88, allocations: 0.7372 MB / 2.753 GB, free: 225 MB / 1.167 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.01428/13.9, allocations: 3.081 MB / 2.756 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006392/13.9, allocations: 1.192 MB / 2.757 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4479/14.35, allocations: 53.55 MB / 2.809 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001236/14.35, allocations: 72 kB / 2.809 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001868/14.35, allocations: 39.95 kB / 2.809 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3644/14.72, allocations: 47.96 MB / 2.856 GB, free: 119.7 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 postOpt removeSimpleEquations (simulation): time 0.4467/15.16, allocations: 67.58 MB / 2.922 GB, free: 52.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001067/15.16, allocations: 8.844 kB / 2.922 GB, free: 52.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01334/15.18, allocations: 1.35 MB / 2.923 GB, free: 50.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11/16.29, allocations: 49.25 MB / 2.971 GB, free: 471.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002768/16.29, allocations: 195.9 kB / 2.972 GB, free: 471.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1538/16.44, allocations: 41.39 MB / 3.012 GB, free: 460.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/16.44, allocations: 15.42 kB / 3.012 GB, free: 460.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4028/16.84, allocations: 60.49 MB / 3.071 GB, free: 447.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01569/16.86, allocations: 2.697 MB / 3.074 GB, free: 445.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008184/16.87, allocations: 128 kB / 3.074 GB, free: 445.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03125/16.9, allocations: 1.019 MB / 3.075 GB, free: 445 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005389/16.91, allocations: 495.4 kB / 3.075 GB, free: 444.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003537/16.91, allocations: 275.7 kB / 3.076 GB, free: 444.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02196/16.93, allocations: 8.326 MB / 3.084 GB, free: 437.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.352e-06/16.93, allocations: 4 kB / 3.084 GB, free: 437.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.05265/16.98, allocations: 6.878 MB / 3.09 GB, free: 431 MB / 1.167 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.006696/16.99, allocations: 1.283 MB / 3.092 GB, free: 430.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.1511/17.14, allocations: 38.37 MB / 3.129 GB, free: 397.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/17.14, allocations: 6.672 kB / 3.129 GB, free: 397.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04095/17.18, allocations: 10.88 MB / 3.14 GB, free: 386.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05748/17.24, allocations: 6.38 MB / 3.146 GB, free: 380.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08608/17.33, allocations: 30.88 MB / 3.176 GB, free: 350.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01328/17.34, allocations: 7.084 MB / 3.183 GB, free: 343.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02865/17.37, allocations: 3.728 MB / 3.187 GB, free: 339.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006958/17.38, allocations: 0.9598 MB / 3.188 GB, free: 338.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.853e-06/17.38, allocations: 0 / 3.188 GB, free: 338.5 MB / 1.167 GB Notification: Performance of Templates: time 2.19/19.57, allocations: 393.9 MB / 3.572 GB, free: 464.2 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)