Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.001127/0.001127, allocations: 181 kB / 371.8 MB, free: 10.27 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.996/1.996, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001159/0.00116, allocations: 97.53 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004645, allocations: 11.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2544, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.752/2.007, allocations: 466.2 MB / 1.435 GB, free: 272.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/2.007, allocations: 107.4 kB / 1.435 GB, free: 272.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 46.99/49, allocations: 10.53 GB / 11.97 GB, free: 34.29 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.288e-06/49, allocations: 0 / 11.97 GB, free: 34.29 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004085/49, allocations: 351.6 kB / 11.97 GB, free: 33.95 MB / 1.214 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.07803/49.08, allocations: 17.44 MB / 11.98 GB, free: 16.37 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/49.08, allocations: 12.03 kB / 11.98 GB, free: 16.36 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/49.1, allocations: 2.067 MB / 11.99 GB, free: 14.27 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.304/50.4, allocations: 18.46 MB / 12 GB, free: 68.12 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00166/50.4, allocations: 0.5294 MB / 12.01 GB, free: 68.11 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00579/50.41, allocations: 0.7149 MB / 12.01 GB, free: 68.11 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04858/50.46, allocations: 8.499 MB / 12.01 GB, free: 67.04 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005495/50.46, allocations: 16.12 kB / 12.01 GB, free: 67.04 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004019/50.46, allocations: 253.7 kB / 12.01 GB, free: 67.04 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/50.46, allocations: 155.3 kB / 12.01 GB, free: 67.04 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03816/50.5, allocations: 6.96 MB / 12.02 GB, free: 66.99 MB / 1.214 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.1565/50.66, allocations: 49.84 MB / 12.07 GB, free: 41.32 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01786/50.68, allocations: 4.911 MB / 12.08 GB, free: 41.16 MB / 1.214 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.06413/50.74, allocations: 13.49 MB / 12.09 GB, free: 38.34 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01403/50.75, allocations: 3.364 MB / 12.09 GB, free: 38.23 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01889/50.77, allocations: 2.452 MB / 12.09 GB, free: 38.12 MB / 1.214 GB Notification: Performance of pre-optimization done (n=327): time 3.536e-05/50.77, allocations: 0 / 12.09 GB, free: 38.12 MB / 1.214 GB Notification: Performance of matching and sorting (n=516): time 0.1806/50.95, allocations: 46.76 MB / 12.14 GB, free: 46.48 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/50.95, allocations: 111.2 kB / 12.14 GB, free: 46.41 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03569/50.99, allocations: 12.18 MB / 12.15 GB, free: 45.74 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.002698/50.99, allocations: 175 kB / 12.15 GB, free: 45.71 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01066/51, allocations: 6.222 MB / 12.16 GB, free: 44.63 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.003625/51.01, allocations: 1.735 MB / 12.16 GB, free: 43.75 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00272/51.01, allocations: 144.8 kB / 12.16 GB, free: 43.75 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001164/51.01, allocations: 0.6018 MB / 12.16 GB, free: 43.43 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01527/51.03, allocations: 4.594 MB / 12.16 GB, free: 43.41 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01918/51.05, allocations: 7.519 MB / 12.17 GB, free: 40.05 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/51.06, allocations: 5.371 MB / 12.18 GB, free: 39.9 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/51.06, allocations: 19.03 kB / 12.18 GB, free: 39.9 MB / 1.229 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.04754/51.11, allocations: 15.28 MB / 12.19 GB, free: 38.86 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01931/51.13, allocations: 38.51 MB / 12.23 GB, free: 31.02 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003412/51.13, allocations: 59.53 kB / 12.23 GB, free: 31.02 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009034/51.14, allocations: 3.51 MB / 12.23 GB, free: 30.92 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/51.15, allocations: 1.865 MB / 12.24 GB, free: 30.92 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/51.16, allocations: 12.37 MB / 12.25 GB, free: 24.18 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01945/51.18, allocations: 1.207 MB / 12.25 GB, free: 24.15 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003352/51.19, allocations: 492.1 kB / 12.25 GB, free: 24.15 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/51.19, allocations: 3.219 kB / 12.25 GB, free: 24.15 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04554/51.23, allocations: 14.29 MB / 12.26 GB, free: 23.79 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000444/51.23, allocations: 60.28 kB / 12.26 GB, free: 23.79 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/51.24, allocations: 3.789 MB / 12.27 GB, free: 23.7 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/51.26, allocations: 1.849 MB / 12.27 GB, free: 23.7 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03742/51.29, allocations: 17.35 MB / 12.29 GB, free: 33.93 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02147/51.31, allocations: 1.18 MB / 12.29 GB, free: 33.91 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003497/51.32, allocations: 444.8 kB / 12.29 GB, free: 33.91 MB / 1.276 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,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$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 (738): * Single equations (assignments): 721 * 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: 6 * 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: 0 * Non-linear torn systems: 6 {1 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.014/51.33, allocations: 3.128 MB / 12.29 GB, free: 33.71 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006033/51.34, allocations: 1.201 MB / 12.29 GB, free: 33.05 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04502/51.38, allocations: 13.72 MB / 12.3 GB, free: 32.35 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001407/51.38, allocations: 61.77 kB / 12.3 GB, free: 32.35 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.644e-05/51.38, allocations: 3.844 kB / 12.3 GB, free: 32.35 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03084/51.41, allocations: 11.08 MB / 12.32 GB, free: 31.63 MB / 1.276 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.0903/51.51, allocations: 25.49 MB / 12.34 GB, free: 29.44 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.405e-05/51.51, allocations: 7.281 kB / 12.34 GB, free: 29.44 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007458/51.51, allocations: 1.154 MB / 12.34 GB, free: 29.42 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006348/51.52, allocations: 2.394 MB / 12.34 GB, free: 29.27 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001775/51.52, allocations: 170.3 kB / 12.34 GB, free: 29.27 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/51.53, allocations: 10.98 MB / 12.35 GB, free: 22.54 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/51.53, allocations: 11.91 kB / 12.35 GB, free: 22.54 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04768/51.58, allocations: 20.54 MB / 12.37 GB, free: 18.23 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01327/51.59, allocations: 2.542 MB / 12.38 GB, free: 17.44 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006875/51.6, allocations: 108.3 kB / 12.38 GB, free: 17.44 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01547/51.62, allocations: 0.9798 MB / 12.38 GB, free: 17.34 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001953/51.62, allocations: 395.6 kB / 12.38 GB, free: 17.32 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001723/51.62, allocations: 254.1 kB / 12.38 GB, free: 17.32 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02564/51.64, allocations: 9.289 MB / 12.39 GB, free: 16.96 MB / 1.276 GB Notification: Performance of sort global known variables: time 7.31e-07/51.65, allocations: 0 / 12.39 GB, free: 16.96 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.04832/51.69, allocations: 6.012 MB / 12.39 GB, free: 16.91 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,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 (439): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * 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: 0 * Non-linear torn systems: 6 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01457/51.71, allocations: 5.015 MB / 12.4 GB, free: 14.57 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.04882/51.76, allocations: 18.34 MB / 12.42 GB, free: 13.41 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/51.76, allocations: 3.062 kB / 12.42 GB, free: 13.41 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01338/51.77, allocations: 5.186 MB / 12.42 GB, free: 13.21 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03478/51.81, allocations: 5.965 MB / 12.43 GB, free: 12.86 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06855/51.87, allocations: 27.56 MB / 12.45 GB, free: 12.64 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01873/51.89, allocations: 7.062 MB / 12.46 GB, free: 7.73 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02748/51.92, allocations: 3.877 MB / 12.47 GB, free: 4.922 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007362/51.93, allocations: 0.9552 MB / 12.47 GB, free: 4.078 MB / 1.292 GB Notification: Performance of SimCode: time 1.533e-06/51.93, allocations: 0 / 12.47 GB, free: 4.078 MB / 1.292 GB Notification: Performance of Templates: time 2.553/54.48, allocations: 273.5 MB / 12.73 GB, free: 119.7 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)