Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001325/0.001325, allocations: 189 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 2.001/2.001, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.00131/0.00131, allocations: 101.1 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 12.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.752/2.008, allocations: 465.6 MB / 1.434 GB, free: 336.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/2.009, allocations: 103 kB / 1.434 GB, free: 336.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 45.26/47.27, allocations: 10.3 GB / 11.73 GB, free: 89.09 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.825e-06/47.27, allocations: 0 / 11.73 GB, free: 89.09 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003039/47.27, allocations: 354.6 kB / 11.73 GB, free: 89.03 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.07806/47.35, allocations: 17.53 MB / 11.75 GB, free: 82.73 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/47.35, allocations: 9.438 kB / 11.75 GB, free: 82.73 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/47.37, allocations: 2.218 MB / 11.75 GB, free: 81.95 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06717/47.44, allocations: 18.82 MB / 11.77 GB, free: 79.84 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001062/47.44, allocations: 0.5317 MB / 11.77 GB, free: 79.83 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004885/47.44, allocations: 0.7119 MB / 11.77 GB, free: 79.83 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04061/47.48, allocations: 13.33 MB / 11.78 GB, free: 79.22 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003296/47.48, allocations: 6.625 kB / 11.78 GB, free: 79.22 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00343/47.49, allocations: 253.3 kB / 11.78 GB, free: 79.22 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/47.49, allocations: 152.3 kB / 11.78 GB, free: 79.22 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03533/47.52, allocations: 17.99 MB / 11.8 GB, free: 79.17 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.1501/47.67, allocations: 70.07 MB / 11.87 GB, free: 47.26 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/47.69, allocations: 9.773 MB / 11.88 GB, free: 47.08 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.07522/47.77, allocations: 29.23 MB / 11.91 GB, free: 39 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01734/47.78, allocations: 8.295 MB / 11.92 GB, free: 38.88 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04577/47.83, allocations: 15.07 MB / 11.93 GB, free: 38.02 MB / 1.214 GB Notification: Performance of pre-optimization done (n=394): time 5.513e-05/47.83, allocations: 0 / 11.93 GB, free: 38.02 MB / 1.214 GB Notification: Performance of matching and sorting (n=583): time 0.4523/48.28, allocations: 116.3 MB / 12.04 GB, free: 4.18 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/48.28, allocations: 116 kB / 12.04 GB, free: 4.051 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.218/49.5, allocations: 11.98 MB / 12.06 GB, free: 110.5 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005535/49.5, allocations: 187.7 kB / 12.06 GB, free: 110.4 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01106/49.52, allocations: 6.005 MB / 12.06 GB, free: 110.3 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005981/49.52, allocations: 1.964 MB / 12.06 GB, free: 110.3 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002722/49.52, allocations: 144.6 kB / 12.06 GB, free: 110.3 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0007916/49.53, allocations: 0.6009 MB / 12.07 GB, free: 109.9 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02263/49.55, allocations: 8.526 MB / 12.07 GB, free: 109.9 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02302/49.57, allocations: 11.11 MB / 12.08 GB, free: 107.1 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02386/49.59, allocations: 9.392 MB / 12.09 GB, free: 106.9 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/49.59, allocations: 13.22 kB / 12.09 GB, free: 106.9 MB / 1.229 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.0829/49.68, allocations: 27.62 MB / 12.12 GB, free: 106 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.006919/49.68, allocations: 29.65 MB / 12.15 GB, free: 75.33 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002193/49.69, allocations: 48.69 kB / 12.15 GB, free: 75.33 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7067/50.39, allocations: 170.6 MB / 12.32 GB, free: 74.12 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01144/50.4, allocations: 1.754 MB / 12.32 GB, free: 74.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04547/50.45, allocations: 26.74 MB / 12.34 GB, free: 68.79 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02299/50.47, allocations: 1.274 MB / 12.35 GB, free: 68.69 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005042/50.48, allocations: 0.799 MB / 12.35 GB, free: 68.69 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/50.48, allocations: 9.906 kB / 12.35 GB, free: 68.69 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06617/50.54, allocations: 26.63 MB / 12.37 GB, free: 68.19 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002775/50.54, allocations: 48.38 kB / 12.37 GB, free: 68.19 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876/52.42, allocations: 170.9 MB / 12.54 GB, free: 151.6 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/52.43, allocations: 1.734 MB / 12.54 GB, free: 151.6 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06531/52.5, allocations: 31.77 MB / 12.57 GB, free: 147.6 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0264/52.52, allocations: 1.25 MB / 12.57 GB, free: 147.6 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005367/52.53, allocations: 0.7639 MB / 12.57 GB, free: 147.6 MB / 1.276 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,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 (658): * Single equations (assignments): 644 * 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: 0 * Non-linear torn systems: 3 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01514/52.54, allocations: 3.09 MB / 12.58 GB, free: 147.4 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006673/52.55, allocations: 1.214 MB / 12.58 GB, free: 147.4 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07148/52.62, allocations: 24.85 MB / 12.6 GB, free: 146.9 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001705/52.62, allocations: 74.58 kB / 12.6 GB, free: 146.9 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/52.62, allocations: 4.438 kB / 12.6 GB, free: 146.9 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05169/52.67, allocations: 19.33 MB / 12.62 GB, free: 146.4 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.115/52.79, allocations: 45.85 MB / 12.67 GB, free: 140 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001031/52.79, allocations: 6.969 kB / 12.67 GB, free: 140 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007771/52.8, allocations: 1.246 MB / 12.67 GB, free: 140 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2066/53, allocations: 48.98 MB / 12.71 GB, free: 139.9 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002428/53, allocations: 201.6 kB / 12.72 GB, free: 139.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02384/53.03, allocations: 14.86 MB / 12.73 GB, free: 134.7 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/53.03, allocations: 16.2 kB / 12.73 GB, free: 134.7 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06024/53.09, allocations: 31.58 MB / 12.76 GB, free: 131.2 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0154/53.1, allocations: 2.938 MB / 12.76 GB, free: 130.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006953/53.11, allocations: 135.4 kB / 12.76 GB, free: 130.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01749/53.13, allocations: 0.9906 MB / 12.76 GB, free: 130.4 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002814/53.13, allocations: 460.5 kB / 12.76 GB, free: 130.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001449/53.13, allocations: 288.5 kB / 12.77 GB, free: 130.4 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02332/53.16, allocations: 9.163 MB / 12.77 GB, free: 130 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.994e-06/53.16, allocations: 0 / 12.77 GB, free: 130 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05409/53.21, allocations: 6.582 MB / 12.78 GB, free: 130 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 (489): * Single equations (assignments): 467 * 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: 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: 0 * Non-linear torn systems: 3 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01134/53.22, allocations: 5.048 MB / 12.79 GB, free: 128.2 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.08914/53.31, allocations: 35.2 MB / 12.82 GB, free: 127.4 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.12e-05/53.31, allocations: 0 / 12.82 GB, free: 127.4 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.02392/53.33, allocations: 9.861 MB / 12.83 GB, free: 127.2 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0367/53.37, allocations: 6.26 MB / 12.84 GB, free: 126.9 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07113/53.44, allocations: 30.06 MB / 12.87 GB, free: 107.8 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01387/53.46, allocations: 7.153 MB / 12.87 GB, free: 103.4 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02343/53.48, allocations: 3.758 MB / 12.88 GB, free: 100.6 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00572/53.49, allocations: 0.991 MB / 12.88 GB, free: 99.85 MB / 1.276 GB Notification: Performance of SimCode: time 1.402e-06/53.49, allocations: 0 / 12.88 GB, free: 99.85 MB / 1.276 GB Notification: Performance of Templates: time 2.463/55.95, allocations: 408 MB / 13.28 GB, free: 122.4 MB / 1.276 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)