Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 293 MB / 309 MB, free: 4.848 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.00105/0.001051, allocations: 172.6 kB / 378.7 MB, free: 1.039 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.652/1.652, allocations: 205.4 MB / 0.6383 GB, free: 8.254 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.0008186/0.0008184, allocations: 91.28 kB / 0.7527 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004683, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.544/1.819, allocations: 466.1 MB / 1.446 GB, free: 263.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.819, allocations: 104.6 kB / 1.446 GB, free: 263.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 43.66/45.48, allocations: 10.3 GB / 11.74 GB, free: 104.9 MB / 1.245 GB Notification: Performance of FrontEnd: time 3.206e-06/45.48, allocations: 0 / 11.74 GB, free: 104.9 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.005809/45.48, allocations: 388.6 kB / 11.74 GB, free: 104.8 MB / 1.245 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.0888/45.57, allocations: 18.55 MB / 11.76 GB, free: 98.15 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/45.57, allocations: 9.469 kB / 11.76 GB, free: 98.15 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/45.59, allocations: 2.193 MB / 11.76 GB, free: 97.29 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06789/45.66, allocations: 20.43 MB / 11.78 GB, free: 94.44 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001385/45.66, allocations: 0.6014 MB / 11.78 GB, free: 94.43 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005889/45.66, allocations: 0.8065 MB / 11.79 GB, free: 94.43 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04549/45.71, allocations: 14.28 MB / 11.8 GB, free: 93.64 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007108/45.71, allocations: 22.92 kB / 11.8 GB, free: 93.63 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004993/45.72, allocations: 288.7 kB / 11.8 GB, free: 93.63 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003217/45.72, allocations: 188.4 kB / 11.8 GB, free: 93.63 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04233/45.76, allocations: 18.47 MB / 11.82 GB, free: 93.57 MB / 1.245 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.1456/45.9, allocations: 74.04 MB / 11.89 GB, free: 59.69 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/45.92, allocations: 9.796 MB / 11.9 GB, free: 59.52 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01391/45.93, allocations: 8.667 MB / 11.91 GB, free: 59.46 MB / 1.245 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.07018/46, allocations: 30.13 MB / 11.94 GB, free: 50.82 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01515/46.02, allocations: 8.278 MB / 11.95 GB, free: 50.71 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04371/46.06, allocations: 14.95 MB / 11.96 GB, free: 50 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 4.259e-05/46.06, allocations: 0 / 11.96 GB, free: 50 MB / 1.245 GB Notification: Performance of matching and sorting (n=613): time 0.3967/46.46, allocations: 112.7 MB / 12.07 GB, free: 26.72 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/46.46, allocations: 124.2 kB / 12.07 GB, free: 26.58 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0315/46.49, allocations: 14.05 MB / 12.08 GB, free: 15.05 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.003917/46.5, allocations: 189.7 kB / 12.08 GB, free: 14.86 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.008249/46.5, allocations: 6.657 MB / 12.09 GB, free: 8.797 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.005222/46.51, allocations: 2.074 MB / 12.09 GB, free: 6.918 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00253/46.51, allocations: 156 kB / 12.09 GB, free: 6.766 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0005788/46.51, allocations: 0.622 MB / 12.09 GB, free: 6.23 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02037/46.53, allocations: 8.938 MB / 12.1 GB, free: 0 / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02436/46.56, allocations: 11.45 MB / 12.11 GB, free: 5.098 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.225/47.78, allocations: 21.08 MB / 12.13 GB, free: 118.9 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.715e-05/47.78, allocations: 14.69 kB / 12.13 GB, free: 118.9 MB / 1.26 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.07968/47.86, allocations: 28.52 MB / 12.16 GB, free: 118.5 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001767/47.86, allocations: 1.74 MB / 12.16 GB, free: 116.4 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/47.86, allocations: 51.19 kB / 12.16 GB, free: 116.4 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5908/48.46, allocations: 147.8 MB / 12.31 GB, free: 115.8 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/48.47, allocations: 2.054 MB / 12.31 GB, free: 115.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04481/48.51, allocations: 25.29 MB / 12.33 GB, free: 110.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02198/48.53, allocations: 1.363 MB / 12.34 GB, free: 110.5 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004797/48.54, allocations: 0.8194 MB / 12.34 GB, free: 110.5 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/48.54, allocations: 3.719 kB / 12.34 GB, free: 110.5 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0656/48.6, allocations: 27.12 MB / 12.36 GB, free: 110 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003108/48.6, allocations: 54.03 kB / 12.36 GB, free: 110 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5606/49.17, allocations: 147.7 MB / 12.51 GB, free: 39 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/49.18, allocations: 2.033 MB / 12.51 GB, free: 37.11 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0509/49.23, allocations: 29.57 MB / 12.54 GB, free: 15.03 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02182/49.25, allocations: 1.333 MB / 12.54 GB, free: 13.89 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004441/49.25, allocations: 0.7788 MB / 12.54 GB, free: 13.18 MB / 1.26 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,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 (761): * Single equations (assignments): 747 * 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 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01454/49.27, allocations: 3.354 MB / 12.54 GB, free: 11.16 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007007/49.27, allocations: 1.291 MB / 12.55 GB, free: 10.56 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07738/49.35, allocations: 26.53 MB / 12.57 GB, free: 9.055 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001622/49.35, allocations: 81.25 kB / 12.57 GB, free: 8.977 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/49.35, allocations: 0 / 12.57 GB, free: 8.977 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06116/49.41, allocations: 20.91 MB / 12.59 GB, free: 11.29 MB / 1.292 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 1.272/50.69, allocations: 57.92 MB / 12.65 GB, free: 141.3 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/50.69, allocations: 11.23 kB / 12.65 GB, free: 141.3 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007588/50.69, allocations: 1.343 MB / 12.65 GB, free: 141.3 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1774/50.87, allocations: 43.02 MB / 12.69 GB, free: 141.2 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002546/50.87, allocations: 206 kB / 12.69 GB, free: 141.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0226/50.9, allocations: 14.36 MB / 12.71 GB, free: 136.1 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/50.9, allocations: 14.92 kB / 12.71 GB, free: 136.1 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1022/51, allocations: 36.25 MB / 12.74 GB, free: 135 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01472/51.01, allocations: 3.076 MB / 12.74 GB, free: 134.9 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008889/51.02, allocations: 137.3 kB / 12.74 GB, free: 134.9 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01995/51.04, allocations: 1.057 MB / 12.75 GB, free: 134.9 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003157/51.04, allocations: 485.6 kB / 12.75 GB, free: 134.9 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002766/51.05, allocations: 305.3 kB / 12.75 GB, free: 134.9 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02885/51.08, allocations: 9.535 MB / 12.76 GB, free: 134.5 MB / 1.292 GB Notification: Performance of sort global known variables: time 3.256e-06/51.08, allocations: 0 / 12.76 GB, free: 134.5 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.0611/51.14, allocations: 7.123 MB / 12.76 GB, free: 134.5 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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,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 (537): * Single equations (assignments): 515 * 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: 0 * Non-linear torn systems: 4 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01347/51.15, allocations: 5.424 MB / 12.77 GB, free: 132.5 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.08848/51.24, allocations: 34.95 MB / 12.8 GB, free: 131.8 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.022e-05/51.24, allocations: 3.094 kB / 12.8 GB, free: 131.8 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02691/51.27, allocations: 9.779 MB / 12.81 GB, free: 131.6 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06643/51.33, allocations: 6.806 MB / 12.82 GB, free: 131.6 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06702/51.4, allocations: 32.32 MB / 12.85 GB, free: 119.9 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01442/51.41, allocations: 7.382 MB / 12.86 GB, free: 118.8 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02447/51.44, allocations: 4.078 MB / 12.86 GB, free: 118.2 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005782/51.45, allocations: 1.088 MB / 12.86 GB, free: 118.2 MB / 1.292 GB Notification: Performance of SimCode: time 1.623e-06/51.45, allocations: 0 / 12.86 GB, free: 118.2 MB / 1.292 GB Notification: Performance of Templates: time 1.643/53.09, allocations: 427.6 MB / 13.28 GB, free: 152.8 MB / 1.307 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)