Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 293 MB / 309 MB, free: 4.809 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.00108/0.00108, allocations: 168.6 kB / 378.7 MB, free: 1.035 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.59/1.59, allocations: 205.4 MB / 0.6383 GB, free: 8.234 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008126/0.0008128, allocations: 97.09 kB / 0.7527 GB, free: 62.74 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2815, allocations: 116.4 MB / 0.9904 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.639/1.921, allocations: 467.4 MB / 1.447 GB, free: 263.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/1.921, allocations: 107.1 kB / 1.447 GB, free: 263.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 42.73/44.65, allocations: 10.47 GB / 11.92 GB, free: 61.31 MB / 1.214 GB Notification: Performance of FrontEnd: time 5.63e-06/44.65, allocations: 3.906 kB / 11.92 GB, free: 61.31 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004594/44.66, allocations: 353.8 kB / 11.92 GB, free: 61.2 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.06791/44.73, allocations: 17.29 MB / 11.94 GB, free: 50.29 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/44.73, allocations: 15.97 kB / 11.94 GB, free: 50.27 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/44.74, allocations: 2.076 MB / 11.94 GB, free: 48.18 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07556/44.82, allocations: 18.69 MB / 11.96 GB, free: 29.39 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000955/44.82, allocations: 0.5276 MB / 11.96 GB, free: 28.86 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003946/44.82, allocations: 0.7113 MB / 11.96 GB, free: 28.15 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/44.85, allocations: 8.535 MB / 11.97 GB, free: 19.27 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004153/44.85, allocations: 23.81 kB / 11.97 GB, free: 19.25 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002684/44.85, allocations: 248 kB / 11.97 GB, free: 19.01 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/44.85, allocations: 160 kB / 11.97 GB, free: 18.85 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/44.87, allocations: 6.956 MB / 11.97 GB, free: 11.89 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 1.143/46.01, allocations: 50.53 MB / 12.02 GB, free: 46.91 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/46.02, allocations: 4.908 MB / 12.03 GB, free: 46.76 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007168/46.03, allocations: 3.763 MB / 12.03 GB, free: 46.7 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.04232/46.07, allocations: 13.57 MB / 12.04 GB, free: 43.86 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006259/46.08, allocations: 3.383 MB / 12.05 GB, free: 43.75 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01367/46.09, allocations: 2.381 MB / 12.05 GB, free: 43.75 MB / 1.214 GB Notification: Performance of pre-optimization done (n=326): time 3.132e-05/46.09, allocations: 1.688 kB / 12.05 GB, free: 43.75 MB / 1.214 GB Notification: Performance of matching and sorting (n=514): time 0.2019/46.29, allocations: 53.12 MB / 12.1 GB, free: 36.84 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/46.29, allocations: 106.5 kB / 12.1 GB, free: 36.77 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03365/46.33, allocations: 13.53 MB / 12.12 GB, free: 36.02 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002334/46.33, allocations: 177.6 kB / 12.12 GB, free: 35.99 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009173/46.34, allocations: 6.22 MB / 12.12 GB, free: 34.92 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002935/46.34, allocations: 1.729 MB / 12.12 GB, free: 34.04 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/46.34, allocations: 142.9 kB / 12.12 GB, free: 34.04 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006272/46.35, allocations: 0.5956 MB / 12.12 GB, free: 33.72 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01081/46.36, allocations: 4.709 MB / 12.13 GB, free: 33.7 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/46.37, allocations: 7.651 MB / 12.14 GB, free: 30.35 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02128/46.39, allocations: 11.4 MB / 12.15 GB, free: 28.03 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/46.39, allocations: 20.5 kB / 12.15 GB, free: 28.03 MB / 1.214 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04469/46.43, allocations: 16.42 MB / 12.16 GB, free: 26.97 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001311/46.44, allocations: 1.931 MB / 12.17 GB, free: 24.65 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/46.44, allocations: 58.44 kB / 12.17 GB, free: 24.65 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/46.45, allocations: 4.785 MB / 12.17 GB, free: 24.55 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/46.46, allocations: 1.96 MB / 12.17 GB, free: 24.55 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/46.48, allocations: 12.97 MB / 12.18 GB, free: 33.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0171/46.5, allocations: 1.21 MB / 12.19 GB, free: 33.77 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/46.5, allocations: 494.9 kB / 12.19 GB, free: 33.77 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/46.5, allocations: 2.719 kB / 12.19 GB, free: 33.77 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04027/46.54, allocations: 15 MB / 12.2 GB, free: 33.41 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002788/46.54, allocations: 60.56 kB / 12.2 GB, free: 33.41 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/46.55, allocations: 4.557 MB / 12.21 GB, free: 33.23 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009716/46.56, allocations: 1.943 MB / 12.21 GB, free: 33.21 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02859/46.59, allocations: 17.32 MB / 12.22 GB, free: 27.57 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01672/46.61, allocations: 1.182 MB / 12.23 GB, free: 27.48 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/46.61, allocations: 445.6 kB / 12.23 GB, free: 27.48 MB / 1.229 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 (742): * Single equations (assignments): 725 * 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 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01233/46.62, allocations: 3.124 MB / 12.23 GB, free: 27.29 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005719/46.63, allocations: 1.201 MB / 12.23 GB, free: 26.62 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0436/46.67, allocations: 14.55 MB / 12.24 GB, free: 25.83 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001254/46.67, allocations: 63.98 kB / 12.24 GB, free: 25.83 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.524e-05/46.67, allocations: 0 / 12.24 GB, free: 25.83 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03209/46.7, allocations: 11.92 MB / 12.26 GB, free: 25.08 MB / 1.229 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.07854/46.78, allocations: 26.62 MB / 12.28 GB, free: 22.85 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.232e-05/46.78, allocations: 7.062 kB / 12.28 GB, free: 22.85 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006359/46.79, allocations: 1.155 MB / 12.28 GB, free: 22.84 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/46.8, allocations: 3.463 MB / 12.29 GB, free: 22.63 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001444/46.8, allocations: 171.5 kB / 12.29 GB, free: 22.63 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/46.81, allocations: 11.65 MB / 12.3 GB, free: 31.93 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/46.81, allocations: 15 kB / 12.3 GB, free: 31.93 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04215/46.86, allocations: 19.51 MB / 12.32 GB, free: 29.91 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009435/46.87, allocations: 2.543 MB / 12.32 GB, free: 29.14 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005324/46.87, allocations: 109.1 kB / 12.32 GB, free: 29.14 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01409/46.88, allocations: 0.9768 MB / 12.32 GB, free: 29.06 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001852/46.89, allocations: 399.9 kB / 12.32 GB, free: 29.04 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001382/46.89, allocations: 256.4 kB / 12.32 GB, free: 29.04 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02034/46.91, allocations: 9.17 MB / 12.33 GB, free: 28.68 MB / 1.245 GB Notification: Performance of sort global known variables: time 5.81e-07/46.91, allocations: 0 / 12.33 GB, free: 28.68 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04071/46.95, allocations: 5.981 MB / 12.34 GB, free: 28.68 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (440): * Single equations (assignments): 415 * 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: 7 * 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: 0 * Non-linear torn systems: 7 {9 78,1 4,1 2,1 2,1 2,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.008779/46.96, allocations: 4.921 MB / 12.34 GB, free: 26.44 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.04241/47, allocations: 18.73 MB / 12.36 GB, free: 25.59 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/47, allocations: 3.906 kB / 12.36 GB, free: 25.59 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/47.01, allocations: 5.446 MB / 12.36 GB, free: 25.36 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05316/47.07, allocations: 5.965 MB / 12.37 GB, free: 25.01 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05676/47.12, allocations: 27.71 MB / 12.4 GB, free: 6.066 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01265/47.14, allocations: 6.821 MB / 12.4 GB, free: 1.73 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.02501/47.16, allocations: 3.961 MB / 12.41 GB, free: 15.11 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005433/47.17, allocations: 0.9456 MB / 12.41 GB, free: 14.33 MB / 1.26 GB Notification: Performance of SimCode: time 6.71e-07/47.17, allocations: 0 / 12.41 GB, free: 14.33 MB / 1.26 GB Notification: Performance of Templates: time 2.088/49.25, allocations: 281.4 MB / 12.68 GB, free: 111.9 MB / 1.276 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)