Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 288.4 MB / 303.7 MB, free: 8.113 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.000946/0.000946, allocations: 186 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007729/0.0007728, allocations: 98.28 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 12.97 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.661/0.866, allocations: 329.6 MB / 1.302 GB, free: 4.625 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1095/0.9756, allocations: 72.95 MB / 1.373 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01665/0.9923, allocations: 373.2 kB / 1.374 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01676/1.009, allocations: 3.704 MB / 1.377 GB, free: 7.453 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03902/1.048, allocations: 11.04 MB / 1.388 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02506/1.073, allocations: 7.091 MB / 1.395 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 1.232/2.305, allocations: 38.6 MB / 1.433 GB, free: 50.11 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03184/2.337, allocations: 15.93 MB / 1.448 GB, free: 48.41 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03403/2.371, allocations: 13.18 MB / 1.461 GB, free: 48.38 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03193/2.403, allocations: 13.51 MB / 1.474 GB, free: 48.33 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007285/2.41, allocations: 1.001 MB / 1.475 GB, free: 48.33 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02032/2.431, allocations: 4.642 MB / 1.48 GB, free: 48.24 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.009294/2.44, allocations: 4.248 MB / 1.484 GB, free: 48.24 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0234/2.463, allocations: 8.101 MB / 1.492 GB, free: 48.21 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02992/2.493, allocations: 19.5 MB / 1.511 GB, free: 46.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/2.493, allocations: 2.531 kB / 1.511 GB, free: 46.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.334e-06/2.493, allocations: 0 / 1.511 GB, free: 46.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001008/2.494, allocations: 0 / 1.511 GB, free: 46.86 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05086/2.545, allocations: 18.02 MB / 1.528 GB, free: 39.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/2.545, allocations: 10.94 kB / 1.528 GB, free: 39.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/2.559, allocations: 2.295 MB / 1.531 GB, free: 38.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03857/2.597, allocations: 13.94 MB / 1.544 GB, free: 33.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001723/2.599, allocations: 0.7276 MB / 1.545 GB, free: 33.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005554/2.605, allocations: 0.7887 MB / 1.546 GB, free: 33.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04318/2.648, allocations: 14.9 MB / 1.56 GB, free: 28.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004418/2.648, allocations: 18.44 kB / 1.56 GB, free: 28.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0044/2.653, allocations: 286.3 kB / 1.561 GB, free: 28.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002037/2.653, allocations: 187.4 kB / 1.561 GB, free: 28.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03777/2.691, allocations: 19.37 MB / 1.58 GB, free: 23.49 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.1302/2.821, allocations: 77.55 MB / 1.655 GB, free: 6.102 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.017/2.838, allocations: 10.61 MB / 1.666 GB, free: 220 kB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01355/2.852, allocations: 9.134 MB / 1.675 GB, free: 10.88 MB / 1.011 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.06827/2.92, allocations: 32.74 MB / 1.707 GB, free: 1.477 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01614/2.936, allocations: 8.853 MB / 1.715 GB, free: 11.53 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03098/2.967, allocations: 9.841 MB / 1.725 GB, free: 2.367 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 4.068e-05/2.967, allocations: 0 / 1.725 GB, free: 2.367 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.309/4.276, allocations: 197.6 MB / 1.918 GB, free: 477.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/4.276, allocations: 121.5 kB / 1.918 GB, free: 477.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02652/4.303, allocations: 13.02 MB / 1.931 GB, free: 471.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004083/4.307, allocations: 179.7 kB / 1.931 GB, free: 471.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.008321/4.315, allocations: 6.583 MB / 1.937 GB, free: 466.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005032/4.32, allocations: 2.043 MB / 1.939 GB, free: 466.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003343/4.324, allocations: 157 kB / 1.94 GB, free: 466.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000635/4.324, allocations: 0.6151 MB / 1.94 GB, free: 465.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01833/4.343, allocations: 9.365 MB / 1.949 GB, free: 460.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02088/4.364, allocations: 11.87 MB / 1.961 GB, free: 449.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04045/4.404, allocations: 20.92 MB / 1.981 GB, free: 427.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/4.404, allocations: 16 kB / 1.981 GB, free: 427.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5846/4.989, allocations: 124 MB / 2.102 GB, free: 303.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008831/4.99, allocations: 1.741 MB / 2.104 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-05/4.99, allocations: 52 kB / 2.104 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6059/5.596, allocations: 143.5 MB / 2.244 GB, free: 157.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/5.607, allocations: 2.067 MB / 2.246 GB, free: 155.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1357/5.743, allocations: 78.76 MB / 2.323 GB, free: 76.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01941/5.762, allocations: 1.241 MB / 2.324 GB, free: 75.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004268/5.767, allocations: 0.7968 MB / 2.325 GB, free: 74.38 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/5.767, allocations: 5.719 kB / 2.325 GB, free: 74.37 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.114/6.88, allocations: 122.8 MB / 2.445 GB, free: 459.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/6.881, allocations: 53.59 kB / 2.445 GB, free: 459.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6107/7.491, allocations: 143.3 MB / 2.585 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009934/7.501, allocations: 2.053 MB / 2.587 GB, free: 342 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1469/7.648, allocations: 82.71 MB / 2.668 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0185/7.667, allocations: 1.232 MB / 2.669 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003973/7.671, allocations: 0.7529 MB / 2.67 GB, free: 257.3 MB / 1.151 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,$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 (769): * Single equations (assignments): 755 * 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 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01141/7.682, allocations: 3.341 MB / 2.673 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004788/7.687, allocations: 1.275 MB / 2.674 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2023/7.889, allocations: 49.31 MB / 2.722 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.53e-05/7.889, allocations: 77.84 kB / 2.722 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001246/7.89, allocations: 28 kB / 2.722 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1727/8.062, allocations: 43.71 MB / 2.765 GB, free: 160.2 MB / 1.151 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.2229/8.285, allocations: 64.24 MB / 2.828 GB, free: 95.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.407e-05/8.285, allocations: 8 kB / 2.828 GB, free: 95.92 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007376/8.293, allocations: 1.393 MB / 2.829 GB, free: 94.53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1893/8.482, allocations: 42.79 MB / 2.871 GB, free: 51.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002182/8.484, allocations: 203.9 kB / 2.871 GB, free: 51.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5108/8.995, allocations: 35.56 MB / 2.906 GB, free: 467.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/8.995, allocations: 8.375 kB / 2.906 GB, free: 467.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2107/9.206, allocations: 56.39 MB / 2.961 GB, free: 460.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01089/9.217, allocations: 2.848 MB / 2.964 GB, free: 459.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005146/9.222, allocations: 132.3 kB / 2.964 GB, free: 459.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01469/9.237, allocations: 1.058 MB / 2.965 GB, free: 459.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003562/9.24, allocations: 0.4942 MB / 2.965 GB, free: 459.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001582/9.242, allocations: 301.4 kB / 2.966 GB, free: 459.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01792/9.26, allocations: 8.805 MB / 2.974 GB, free: 456.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.6e-07/9.26, allocations: 0 / 2.974 GB, free: 456.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.04568/9.306, allocations: 7.326 MB / 2.982 GB, free: 456.2 MB / 1.151 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 (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 {(28,89.3%) 28} * Non-linear torn systems: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005673/9.311, allocations: 1.603 MB / 2.983 GB, free: 455.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.08536/9.397, allocations: 37.72 MB / 3.02 GB, free: 433.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/9.397, allocations: 4 kB / 3.02 GB, free: 433.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02424/9.421, allocations: 10.68 MB / 3.03 GB, free: 424.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06225/9.483, allocations: 6.814 MB / 3.037 GB, free: 419.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06261/9.546, allocations: 33.1 MB / 3.069 GB, free: 390.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01349/9.56, allocations: 7.541 MB / 3.077 GB, free: 382.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.02361/9.583, allocations: 4.061 MB / 3.081 GB, free: 378.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005306/9.589, allocations: 1.042 MB / 3.082 GB, free: 377.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.82e-07/9.589, allocations: 0 / 3.082 GB, free: 377.9 MB / 1.151 GB Notification: Performance of Templates: time 1.034/10.62, allocations: 405.7 MB / 3.478 GB, free: 438.4 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)