Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, 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.001092/0.001092, allocations: 172.4 kB / 326.5 MB, free: 2.707 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.747/1.747, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0009361/0.0009361, allocations: 96.78 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 12.72 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.7929/1.015, allocations: 353.8 MB / 1.242 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1127/1.127, allocations: 77.78 MB / 1.318 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02157/1.149, allocations: 389.2 kB / 1.319 GB, free: 364 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01832/1.167, allocations: 4.344 MB / 1.323 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.04639/1.214, allocations: 12.05 MB / 1.335 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02403/1.238, allocations: 8.454 MB / 1.343 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.06705/1.305, allocations: 44.63 MB / 1.386 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 1.143/2.447, allocations: 15.84 MB / 1.402 GB, free: 22.08 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03661/2.484, allocations: 13.3 MB / 1.415 GB, free: 22.08 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03126/2.515, allocations: 14.16 MB / 1.429 GB, free: 20.67 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.008638/2.524, allocations: 0.9927 MB / 1.43 GB, free: 20.67 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02132/2.546, allocations: 4.797 MB / 1.434 GB, free: 20.67 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.0106/2.556, allocations: 4.324 MB / 1.439 GB, free: 20.07 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.02497/2.581, allocations: 8.396 MB / 1.447 GB, free: 17.7 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.02936/2.611, allocations: 19.4 MB / 1.466 GB, free: 16.56 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/2.611, allocations: 2.688 kB / 1.466 GB, free: 16.56 MB / 0.9012 GB Notification: Performance of FrontEnd: time 3.276e-06/2.611, allocations: 0 / 1.466 GB, free: 16.56 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.001104/2.612, allocations: 0 / 1.466 GB, free: 16.56 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.04869/2.66, allocations: 17.99 MB / 1.483 GB, free: 10.07 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/2.661, allocations: 10.03 kB / 1.483 GB, free: 10.07 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/2.674, allocations: 2.298 MB / 1.486 GB, free: 9.176 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03432/2.708, allocations: 13.91 MB / 1.499 GB, free: 6.348 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001502/2.71, allocations: 0.7272 MB / 1.5 GB, free: 6.281 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004998/2.715, allocations: 0.7872 MB / 1.501 GB, free: 6.277 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0367/2.751, allocations: 14.88 MB / 1.515 GB, free: 1.754 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002642/2.752, allocations: 12.44 kB / 1.515 GB, free: 1.75 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002907/2.755, allocations: 288.8 kB / 1.515 GB, free: 1.746 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/2.755, allocations: 188 kB / 1.516 GB, free: 1.742 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03543/2.79, allocations: 19.44 MB / 1.535 GB, free: 15.22 MB / 0.9168 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.1334/2.924, allocations: 77.41 MB / 1.61 GB, free: 2.668 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01734/2.941, allocations: 10.56 MB / 1.62 GB, free: 11.91 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01387/2.955, allocations: 9.071 MB / 1.629 GB, free: 2.824 MB / 0.9793 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.07429/3.029, allocations: 32.63 MB / 1.661 GB, free: 1.836 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01597/3.045, allocations: 8.801 MB / 1.67 GB, free: 9.004 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02788/3.073, allocations: 9.841 MB / 1.679 GB, free: 15.3 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 3.251e-05/3.073, allocations: 0 / 1.679 GB, free: 15.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.227/4.301, allocations: 195.6 MB / 1.87 GB, free: 0.4962 GB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/4.301, allocations: 119.8 kB / 1.871 GB, free: 0.4961 GB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02398/4.325, allocations: 13.14 MB / 1.883 GB, free: 498.4 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.003505/4.328, allocations: 185.7 kB / 1.884 GB, free: 498.2 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00715/4.336, allocations: 6.584 MB / 1.89 GB, free: 492.9 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.004543/4.34, allocations: 2.043 MB / 1.892 GB, free: 492.2 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0031/4.343, allocations: 0.7187 MB / 1.893 GB, free: 491.5 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/4.343, allocations: 301.1 kB / 1.893 GB, free: 491.2 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01607/4.359, allocations: 9.862 MB / 1.903 GB, free: 481.3 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01863/4.378, allocations: 12.38 MB / 1.915 GB, free: 467.9 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03435/4.412, allocations: 21.95 MB / 1.936 GB, free: 445.1 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.193e-05/4.413, allocations: 16 kB / 1.936 GB, free: 445.1 MB / 1.136 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.5296/4.942, allocations: 125.1 MB / 2.058 GB, free: 320.3 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008698/4.943, allocations: 1.738 MB / 2.06 GB, free: 317.8 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.144e-05/4.943, allocations: 52 kB / 2.06 GB, free: 317.8 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5647/5.508, allocations: 143.6 MB / 2.2 GB, free: 174 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/5.518, allocations: 2.002 MB / 2.202 GB, free: 172 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1457/5.664, allocations: 78.79 MB / 2.279 GB, free: 92.79 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01857/5.683, allocations: 1.18 MB / 2.28 GB, free: 91.63 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004557/5.687, allocations: 0.7802 MB / 2.281 GB, free: 90.85 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/5.687, allocations: 4 kB / 2.281 GB, free: 90.85 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.032/6.719, allocations: 122.5 MB / 2.401 GB, free: 489.9 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/6.719, allocations: 53.62 kB / 2.401 GB, free: 489.9 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5936/7.313, allocations: 143.3 MB / 2.541 GB, free: 386.8 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00937/7.322, allocations: 1.973 MB / 2.543 GB, free: 384.9 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1595/7.482, allocations: 82.72 MB / 2.623 GB, free: 302.1 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01866/7.5, allocations: 1.161 MB / 2.624 GB, free: 301 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004567/7.505, allocations: 0.749 MB / 2.625 GB, free: 300.2 MB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (767): * Single equations (assignments): 753 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.01293/7.518, allocations: 3.338 MB / 2.628 GB, free: 296.9 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007121/7.525, allocations: 1.275 MB / 2.63 GB, free: 296.3 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1803/7.706, allocations: 48.95 MB / 2.678 GB, free: 247.4 MB / 1.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/7.706, allocations: 79.92 kB / 2.678 GB, free: 247.4 MB / 1.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001705/7.706, allocations: 28 kB / 2.678 GB, free: 247.3 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1614/7.867, allocations: 43.38 MB / 2.72 GB, free: 203.9 MB / 1.136 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.2018/8.069, allocations: 63.8 MB / 2.782 GB, free: 140 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.853e-05/8.069, allocations: 8 kB / 2.782 GB, free: 140 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006764/8.076, allocations: 1.323 MB / 2.784 GB, free: 138.7 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1641/8.24, allocations: 42.79 MB / 2.825 GB, free: 95.87 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002502/8.243, allocations: 207.9 kB / 2.826 GB, free: 95.67 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05717/8.3, allocations: 35.6 MB / 2.86 GB, free: 59.91 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/8.3, allocations: 8.031 kB / 2.86 GB, free: 59.9 MB / 1.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6872/8.987, allocations: 55.87 MB / 2.915 GB, free: 488 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01034/8.998, allocations: 2.613 MB / 2.917 GB, free: 487.9 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005548/9.003, allocations: 136.9 kB / 2.918 GB, free: 487.9 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01451/9.018, allocations: 0.9938 MB / 2.919 GB, free: 487.9 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003313/9.021, allocations: 0.4888 MB / 2.919 GB, free: 487.9 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001593/9.023, allocations: 289.1 kB / 2.919 GB, free: 487.9 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01963/9.042, allocations: 8.924 MB / 2.928 GB, free: 487.6 MB / 1.136 GB Notification: Performance of sort global known variables: time 3.5e-07/9.042, allocations: 0.5938 kB / 2.928 GB, free: 487.6 MB / 1.136 GB Notification: Performance of remove unused functions: time 0.05416/9.096, allocations: 7.285 MB / 2.935 GB, free: 487.6 MB / 1.136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (541): * Single equations (assignments): 519 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 4 * 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): 5 systems {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): 3 systems {(9,78), (5,80), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005787/9.102, allocations: 1.58 MB / 2.937 GB, free: 487.4 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.08948/9.192, allocations: 37.85 MB / 2.974 GB, free: 474.3 MB / 1.136 GB Notification: Performance of simCode: created event and clocks part: time 2.293e-05/9.192, allocations: 3.312 kB / 2.974 GB, free: 474.3 MB / 1.136 GB Notification: Performance of simCode: created simulation system equations: time 0.0241/9.216, allocations: 10.48 MB / 2.984 GB, free: 470.1 MB / 1.136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05959/9.276, allocations: 6.891 MB / 2.991 GB, free: 468.9 MB / 1.136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07402/9.35, allocations: 34.22 MB / 3.024 GB, free: 445.2 MB / 1.136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01158/9.361, allocations: 7.351 MB / 3.031 GB, free: 440 MB / 1.136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005932/9.367, allocations: 1.098 MB / 3.032 GB, free: 439.1 MB / 1.136 GB Notification: Performance of SimCode: time 1.042e-06/9.367, allocations: 0 / 3.032 GB, free: 439.1 MB / 1.136 GB Notification: Performance of Templates: time 1.445/10.81, allocations: 0.8272 GB / 3.859 GB, free: 143.5 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)