Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001548/0.001548, allocations: 178.5 kB / 377.1 MB, free: 1.543 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.962/1.962, allocations: 205.4 MB / 0.6367 GB, free: 8.609 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.0009604/0.0009605, allocations: 98.64 kB / 0.751 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 8 kB / 0.8748 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3091, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.685/1.994, allocations: 465.3 MB / 1.443 GB, free: 265 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/1.994, allocations: 98.61 kB / 1.443 GB, free: 265 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 41.94/43.93, allocations: 9.512 GB / 10.95 GB, free: 79.37 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.304e-06/43.93, allocations: 4 kB / 10.95 GB, free: 79.37 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004334/43.94, allocations: 0.5057 MB / 10.96 GB, free: 79.26 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.09496/44.03, allocations: 21.42 MB / 10.98 GB, free: 71.36 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/44.03, allocations: 15.72 kB / 10.98 GB, free: 71.36 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/44.05, allocations: 2.304 MB / 10.98 GB, free: 70.33 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08838/44.14, allocations: 23.51 MB / 11 GB, free: 67.48 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001395/44.14, allocations: 0.715 MB / 11 GB, free: 67.46 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006928/44.15, allocations: 1.015 MB / 11 GB, free: 67.44 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05703/44.21, allocations: 16.83 MB / 11.02 GB, free: 65.45 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005741/44.21, allocations: 15.52 kB / 11.02 GB, free: 65.45 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005348/44.21, allocations: 364.4 kB / 11.02 GB, free: 65.44 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002628/44.21, allocations: 213.1 kB / 11.02 GB, free: 65.44 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04307/44.26, allocations: 19.82 MB / 11.04 GB, free: 65.31 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 preOpt removeSimpleEquations (simulation): time 0.1762/44.43, allocations: 79.73 MB / 11.12 GB, free: 28.71 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0197/44.45, allocations: 11.69 MB / 11.13 GB, free: 23.34 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 preOpt evalFunc (simulation): time 0.08472/44.54, allocations: 32.68 MB / 11.16 GB, free: 5.859 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02131/44.56, allocations: 9.387 MB / 11.17 GB, free: 15.48 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04921/44.61, allocations: 14.9 MB / 11.18 GB, free: 5.035 MB / 1.245 GB Notification: Performance of pre-optimization done (n=561): time 5.904e-05/44.61, allocations: 0 / 11.18 GB, free: 5.035 MB / 1.245 GB Notification: Performance of matching and sorting (n=775): time 2.08/46.69, allocations: 202.7 MB / 11.38 GB, free: 93.09 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006826/46.69, allocations: 2.525 MB / 11.38 GB, free: 90.08 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04802/46.74, allocations: 14.91 MB / 11.4 GB, free: 89.27 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.005363/46.74, allocations: 257.8 kB / 11.4 GB, free: 89.24 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01427/46.76, allocations: 7.889 MB / 11.41 GB, free: 87.87 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006688/46.76, allocations: 2.7 MB / 11.41 GB, free: 86.5 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00415/46.77, allocations: 203.2 kB / 11.41 GB, free: 86.5 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001146/46.77, allocations: 0.7408 MB / 11.41 GB, free: 86.17 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02397/46.79, allocations: 10.24 MB / 11.42 GB, free: 86.12 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03045/46.82, allocations: 13.9 MB / 11.43 GB, free: 82.09 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02844/46.85, allocations: 11.54 MB / 11.45 GB, free: 81.75 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002132/46.85, allocations: 16 kB / 11.45 GB, free: 81.75 MB / 1.245 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.6191/47.47, allocations: 129.4 MB / 11.57 GB, free: 52.86 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.008775/47.48, allocations: 38.28 MB / 11.61 GB, free: 13.63 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007256/47.48, allocations: 117.3 kB / 11.61 GB, free: 13.52 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061/49.54, allocations: 146.4 MB / 11.75 GB, free: 122.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01651/49.56, allocations: 2.683 MB / 11.76 GB, free: 122.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1699/49.73, allocations: 74.39 MB / 11.83 GB, free: 116.6 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03079/49.76, allocations: 1.553 MB / 11.83 GB, free: 116.6 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007667/49.77, allocations: 0.9084 MB / 11.83 GB, free: 116.6 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/49.77, allocations: 6.594 kB / 11.83 GB, free: 116.6 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.595/50.36, allocations: 128.1 MB / 11.96 GB, free: 114.4 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006858/50.36, allocations: 115.4 kB / 11.96 GB, free: 114.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.574/50.94, allocations: 146.7 MB / 12.1 GB, free: 12.52 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/50.95, allocations: 2.679 MB / 12.1 GB, free: 10.02 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492/52.44, allocations: 79.19 MB / 12.18 GB, free: 149.9 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0309/52.47, allocations: 1.523 MB / 12.18 GB, free: 149.9 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006821/52.48, allocations: 0.8677 MB / 12.18 GB, free: 149.9 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1067): * Single equations (assignments): 989 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.02413/52.51, allocations: 4.266 MB / 12.19 GB, free: 149.7 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01122/52.52, allocations: 1.547 MB / 12.19 GB, free: 149.7 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.228/52.74, allocations: 50.02 MB / 12.24 GB, free: 149.1 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001805/52.74, allocations: 90.94 kB / 12.24 GB, free: 149.1 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002004/52.74, allocations: 27.75 kB / 12.24 GB, free: 149.1 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1776/52.92, allocations: 44.09 MB / 12.28 GB, free: 148.4 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2451/53.17, allocations: 67.18 MB / 12.34 GB, free: 144.4 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001084/53.17, allocations: 7.375 kB / 12.34 GB, free: 144.4 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01208/53.18, allocations: 1.795 MB / 12.35 GB, free: 144.4 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1721/53.35, allocations: 41.78 MB / 12.39 GB, free: 144.3 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00363/53.36, allocations: 340 kB / 12.39 GB, free: 144.3 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06191/53.42, allocations: 29.62 MB / 12.42 GB, free: 138.4 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/53.42, allocations: 4.469 kB / 12.42 GB, free: 138.4 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2069/53.62, allocations: 58.08 MB / 12.47 GB, free: 124.9 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01777/53.64, allocations: 3.595 MB / 12.48 GB, free: 122.8 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009372/53.65, allocations: 268.1 kB / 12.48 GB, free: 122.7 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02146/53.67, allocations: 1.27 MB / 12.48 GB, free: 122 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004305/53.68, allocations: 0.5682 MB / 12.48 GB, free: 121.7 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002819/53.68, allocations: 351.9 kB / 12.48 GB, free: 121.5 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.03075/53.71, allocations: 11.42 MB / 12.49 GB, free: 115.6 MB / 1.307 GB Notification: Performance of sort global known variables: time 9.42e-07/53.71, allocations: 0 / 12.49 GB, free: 115.6 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.07165/53.78, allocations: 8.781 MB / 12.5 GB, free: 107.9 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * 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 (702): * Single equations (assignments): 680 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {6 81,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/53.8, allocations: 5.631 MB / 12.5 GB, free: 103.7 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.09643/53.89, allocations: 42.87 MB / 12.55 GB, free: 78.43 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.273e-05/53.89, allocations: 10.31 kB / 12.55 GB, free: 78.42 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.02627/53.92, allocations: 11.18 MB / 12.56 GB, free: 68.89 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04336/53.96, allocations: 7.609 MB / 12.56 GB, free: 63.75 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.13/56.09, allocations: 40.21 MB / 12.6 GB, free: 134.4 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02834/56.12, allocations: 9.358 MB / 12.61 GB, free: 133.3 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.03462/56.16, allocations: 5.528 MB / 12.62 GB, free: 133.2 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00867/56.16, allocations: 1.304 MB / 12.62 GB, free: 133.2 MB / 1.307 GB Notification: Performance of SimCode: time 1.133e-06/56.16, allocations: 0 / 12.62 GB, free: 133.2 MB / 1.307 GB Notification: Performance of Templates: time 0.7167/56.88, allocations: 467 MB / 13.08 GB, free: 13.98 MB / 1.37 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)