Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001509/0.001509, allocations: 173.1 kB / 377.1 MB, free: 1.516 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.673/1.673, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.001143/0.001143, allocations: 88.11 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004052, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3217, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.835/2.157, allocations: 464.9 MB / 1.442 GB, free: 265 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003958/2.157, allocations: 98.91 kB / 1.442 GB, free: 265 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 28.11/30.26, allocations: 6.434 GB / 7.876 GB, free: 90.21 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.519e-06/30.26, allocations: 0.5625 kB / 7.876 GB, free: 90.21 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.007855/30.27, allocations: 0.5303 MB / 7.877 GB, free: 90.09 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.1194/30.39, allocations: 21.44 MB / 7.898 GB, free: 82.46 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/30.39, allocations: 8.469 kB / 7.898 GB, free: 82.46 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0229/30.41, allocations: 2.313 MB / 7.9 GB, free: 81.45 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1012/30.52, allocations: 23.6 MB / 7.923 GB, free: 78.87 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00172/30.52, allocations: 0.7175 MB / 7.924 GB, free: 78.85 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01164/30.53, allocations: 1.03 MB / 7.925 GB, free: 78.83 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06005/30.59, allocations: 17.01 MB / 7.941 GB, free: 76.98 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009505/30.59, allocations: 11.97 kB / 7.941 GB, free: 76.98 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006664/30.6, allocations: 364.1 kB / 7.942 GB, free: 76.98 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003491/30.6, allocations: 213 kB / 7.942 GB, free: 76.98 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04894/30.65, allocations: 19.94 MB / 7.961 GB, free: 76.91 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.1817/30.83, allocations: 78.56 MB / 8.038 GB, free: 44.87 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02295/30.85, allocations: 12.56 MB / 8.05 GB, free: 44.41 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.09063/30.94, allocations: 33.59 MB / 8.083 GB, free: 35.82 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02058/30.96, allocations: 9.532 MB / 8.093 GB, free: 35.64 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04743/31.01, allocations: 14.9 MB / 8.107 GB, free: 34.71 MB / 1.214 GB Notification: Performance of pre-optimization done (n=605): time 6.294e-05/31.01, allocations: 0 / 8.107 GB, free: 34.71 MB / 1.214 GB Notification: Performance of matching and sorting (n=859): time 2.271/33.28, allocations: 212.8 MB / 8.315 GB, free: 102.5 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008408/33.28, allocations: 2.53 MB / 8.317 GB, free: 99.48 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.053/33.33, allocations: 14.86 MB / 8.332 GB, free: 98.81 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006659/33.34, allocations: 276.2 kB / 8.332 GB, free: 98.78 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01925/33.36, allocations: 7.889 MB / 8.34 GB, free: 98.32 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.009299/33.37, allocations: 2.979 MB / 8.343 GB, free: 98.32 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00419/33.37, allocations: 210.5 kB / 8.343 GB, free: 98.32 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001269/33.38, allocations: 0.7582 MB / 8.344 GB, free: 98 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.026/33.4, allocations: 10.52 MB / 8.354 GB, free: 97.97 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03225/33.43, allocations: 14.26 MB / 8.368 GB, free: 94.06 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02945/33.46, allocations: 11.85 MB / 8.379 GB, free: 93.84 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/33.46, allocations: 12.5 kB / 8.379 GB, free: 93.84 MB / 1.229 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.5949/34.06, allocations: 131.4 MB / 8.508 GB, free: 90.46 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.0138/34.07, allocations: 32.96 MB / 8.54 GB, free: 56.08 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009909/34.07, allocations: 112.3 kB / 8.54 GB, free: 56.08 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5934/34.67, allocations: 152.5 MB / 8.689 GB, free: 14.26 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01729/34.68, allocations: 2.507 MB / 8.691 GB, free: 11.93 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542/36.23, allocations: 79.01 MB / 8.769 GB, free: 143.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03246/36.26, allocations: 1.509 MB / 8.77 GB, free: 143.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007092/36.27, allocations: 0.9175 MB / 8.771 GB, free: 143.9 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/36.27, allocations: 2.875 kB / 8.771 GB, free: 143.9 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6036/36.87, allocations: 129.9 MB / 8.898 GB, free: 142.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007519/36.87, allocations: 112.5 kB / 8.898 GB, free: 142.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6236/37.49, allocations: 152.7 MB / 9.047 GB, free: 119.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0148/37.51, allocations: 2.479 MB / 9.049 GB, free: 116.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1818/37.69, allocations: 86.42 MB / 9.134 GB, free: 54.22 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03106/37.72, allocations: 1.487 MB / 9.135 GB, free: 53 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007203/37.73, allocations: 0.8674 MB / 9.136 GB, free: 52.21 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 (989): * Single equations (assignments): 909 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.02347/37.75, allocations: 4.298 MB / 9.14 GB, free: 49.57 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.011/37.76, allocations: 1.563 MB / 9.142 GB, free: 48.84 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2101/37.97, allocations: 52.56 MB / 9.193 GB, free: 6.891 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002647/37.97, allocations: 111.6 kB / 9.193 GB, free: 6.785 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002611/37.97, allocations: 29.42 kB / 9.193 GB, free: 6.758 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667/39.64, allocations: 46.38 MB / 9.239 GB, free: 126.5 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3025/39.94, allocations: 71.62 MB / 9.309 GB, free: 122.3 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001607/39.94, allocations: 4.344 kB / 9.309 GB, free: 122.3 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01076/39.95, allocations: 1.692 MB / 9.31 GB, free: 122.3 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1856/40.14, allocations: 44.75 MB / 9.354 GB, free: 122 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005219/40.15, allocations: 352 kB / 9.354 GB, free: 122 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0782/40.22, allocations: 34.25 MB / 9.388 GB, free: 114.9 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/40.22, allocations: 5.906 kB / 9.388 GB, free: 114.9 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2202/40.44, allocations: 60.99 MB / 9.447 GB, free: 113.3 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02355/40.47, allocations: 3.745 MB / 9.451 GB, free: 113.2 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01332/40.48, allocations: 284 kB / 9.451 GB, free: 113.2 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0263/40.51, allocations: 1.31 MB / 9.453 GB, free: 113.1 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005889/40.51, allocations: 0.5982 MB / 9.453 GB, free: 113.1 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004181/40.52, allocations: 369.1 kB / 9.453 GB, free: 113.1 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03906/40.56, allocations: 11.4 MB / 9.465 GB, free: 112.7 MB / 1.276 GB Notification: Performance of sort global known variables: time 3.086e-06/40.56, allocations: 0.9062 kB / 9.465 GB, free: 112.7 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.07331/40.63, allocations: 8.815 MB / 9.473 GB, free: 112.7 MB / 1.276 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 (668): * Single equations (assignments): 644 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01946/40.65, allocations: 5.658 MB / 9.479 GB, free: 110.7 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1234/40.77, allocations: 45.42 MB / 9.523 GB, free: 101.3 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 3.054e-05/40.77, allocations: 11.94 kB / 9.523 GB, free: 101.3 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.03282/40.81, allocations: 12.28 MB / 9.535 GB, free: 94.95 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05355/40.86, allocations: 7.798 MB / 9.543 GB, free: 90.89 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1039/40.96, allocations: 41.34 MB / 9.583 GB, free: 58.88 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02413/40.99, allocations: 9.479 MB / 9.592 GB, free: 53.11 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03215/41.02, allocations: 5.143 MB / 9.597 GB, free: 49.45 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008643/41.03, allocations: 1.274 MB / 9.599 GB, free: 48.41 MB / 1.276 GB Notification: Performance of SimCode: time 1.983e-06/41.03, allocations: 0 / 9.599 GB, free: 48.41 MB / 1.276 GB Notification: Performance of Templates: time 3.343/44.37, allocations: 492.5 MB / 10.08 GB, free: 2.766 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)