Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001304/0.001304, allocations: 183.8 kB / 371.8 MB, free: 10.28 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.718/1.718, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0008683/0.0008683, allocations: 94.86 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 15.19 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2565, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.827/2.084, allocations: 463.9 MB / 1.432 GB, free: 336.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004674/2.084, allocations: 99.23 kB / 1.433 GB, free: 336.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 28.37/30.45, allocations: 6.434 GB / 7.866 GB, free: 89.68 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.144e-06/30.45, allocations: 0 / 7.866 GB, free: 89.68 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004588/30.46, allocations: 0.5311 MB / 7.867 GB, free: 89.57 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.106/30.56, allocations: 21.44 MB / 7.888 GB, free: 82.16 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/30.56, allocations: 13.41 kB / 7.888 GB, free: 82.16 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02226/30.58, allocations: 2.31 MB / 7.89 GB, free: 81.14 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.104/30.69, allocations: 23.6 MB / 7.913 GB, free: 78.57 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00184/30.69, allocations: 0.7211 MB / 7.914 GB, free: 78.55 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009341/30.7, allocations: 1.034 MB / 7.915 GB, free: 78.54 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06162/30.76, allocations: 17.01 MB / 7.931 GB, free: 76.69 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009052/30.76, allocations: 11.59 kB / 7.932 GB, free: 76.69 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007122/30.77, allocations: 362.9 kB / 7.932 GB, free: 76.69 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004489/30.77, allocations: 219.6 kB / 7.932 GB, free: 76.69 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04851/30.82, allocations: 19.94 MB / 7.952 GB, free: 76.63 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.1923/31.01, allocations: 78.57 MB / 8.028 GB, free: 44.67 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02376/31.03, allocations: 12.56 MB / 8.041 GB, free: 44.21 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.0966/31.13, allocations: 33.59 MB / 8.073 GB, free: 35.65 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02258/31.15, allocations: 9.536 MB / 8.083 GB, free: 35.47 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0513/31.2, allocations: 14.91 MB / 8.097 GB, free: 35.05 MB / 1.214 GB Notification: Performance of pre-optimization done (n=605): time 8.553e-05/31.21, allocations: 0 / 8.097 GB, free: 35.05 MB / 1.214 GB Notification: Performance of matching and sorting (n=859): time 0.8766/32.08, allocations: 212.7 MB / 8.305 GB, free: 11.07 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001373/32.08, allocations: 2.533 MB / 8.307 GB, free: 7.957 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.355/33.44, allocations: 14.87 MB / 8.322 GB, free: 90.31 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006128/33.44, allocations: 276.3 kB / 8.322 GB, free: 90.28 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01528/33.46, allocations: 7.885 MB / 8.33 GB, free: 89.81 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008975/33.47, allocations: 2.976 MB / 8.333 GB, free: 89.75 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004467/33.47, allocations: 210.8 kB / 8.333 GB, free: 89.75 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.00141/33.47, allocations: 0.759 MB / 8.334 GB, free: 89.43 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02589/33.5, allocations: 10.52 MB / 8.344 GB, free: 89.41 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03296/33.53, allocations: 14.25 MB / 8.358 GB, free: 85.5 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03109/33.56, allocations: 11.85 MB / 8.369 GB, free: 85.28 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002741/33.56, allocations: 14.75 kB / 8.369 GB, free: 85.28 MB / 1.229 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.5974/34.16, allocations: 131.4 MB / 8.498 GB, free: 83.37 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.009213/34.17, allocations: 32.96 MB / 8.53 GB, free: 49 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009148/34.17, allocations: 114.3 kB / 8.53 GB, free: 49 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6085/34.78, allocations: 152.5 MB / 8.679 GB, free: 41.22 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01742/34.8, allocations: 2.504 MB / 8.681 GB, free: 38.88 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1628/34.96, allocations: 79.02 MB / 8.759 GB, free: 11.21 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03144/34.99, allocations: 1.505 MB / 8.76 GB, free: 9.926 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007468/35, allocations: 0.9132 MB / 8.761 GB, free: 9.098 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/35, allocations: 12.89 kB / 8.761 GB, free: 9.09 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.03/37.03, allocations: 129.9 MB / 8.888 GB, free: 123.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008034/37.03, allocations: 115.9 kB / 8.888 GB, free: 123.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6208/37.65, allocations: 152.7 MB / 9.037 GB, free: 122 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01378/37.67, allocations: 2.477 MB / 9.039 GB, free: 122 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1775/37.84, allocations: 86.42 MB / 9.124 GB, free: 108.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02877/37.87, allocations: 1.491 MB / 9.125 GB, free: 107.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006894/37.88, allocations: 0.8692 MB / 9.126 GB, free: 107.1 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.02112/37.9, allocations: 4.292 MB / 9.13 GB, free: 104.5 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01014/37.91, allocations: 1.563 MB / 9.132 GB, free: 103.7 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2159/38.13, allocations: 52.56 MB / 9.183 GB, free: 61.79 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002364/38.13, allocations: 99.31 kB / 9.183 GB, free: 61.7 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002874/38.13, allocations: 35.95 kB / 9.183 GB, free: 61.66 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1926/38.32, allocations: 46.4 MB / 9.229 GB, free: 23.72 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.755/40.07, allocations: 71.6 MB / 9.299 GB, free: 110.2 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001661/40.08, allocations: 4.875 kB / 9.299 GB, free: 110.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01185/40.09, allocations: 1.696 MB / 9.3 GB, free: 110.2 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1877/40.27, allocations: 44.75 MB / 9.344 GB, free: 110.1 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00506/40.28, allocations: 353.8 kB / 9.344 GB, free: 110.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07897/40.36, allocations: 34.25 MB / 9.378 GB, free: 103 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/40.36, allocations: 1.5 kB / 9.378 GB, free: 103 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2289/40.59, allocations: 61 MB / 9.437 GB, free: 101.5 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01909/40.61, allocations: 3.739 MB / 9.441 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01031/40.62, allocations: 283 kB / 9.441 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02214/40.64, allocations: 1.312 MB / 9.443 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004803/40.64, allocations: 0.6024 MB / 9.443 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00273/40.65, allocations: 369 kB / 9.443 GB, free: 101.4 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03462/40.68, allocations: 11.4 MB / 9.455 GB, free: 101 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.072e-06/40.68, allocations: 0.8125 kB / 9.455 GB, free: 101 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.06813/40.75, allocations: 8.811 MB / 9.463 GB, free: 101 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.01737/40.77, allocations: 5.632 MB / 9.469 GB, free: 99.06 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1206/40.89, allocations: 45.45 MB / 9.513 GB, free: 95.62 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 4.423e-05/40.89, allocations: 14 kB / 9.513 GB, free: 95.61 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.03256/40.92, allocations: 12.26 MB / 9.525 GB, free: 95.2 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05444/40.98, allocations: 7.793 MB / 9.533 GB, free: 95.05 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1035/41.08, allocations: 41.34 MB / 9.573 GB, free: 80.43 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02576/41.1, allocations: 9.481 MB / 9.582 GB, free: 79.29 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03523/41.14, allocations: 5.143 MB / 9.587 GB, free: 79.05 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00978/41.15, allocations: 1.266 MB / 9.589 GB, free: 79.04 MB / 1.276 GB Notification: Performance of SimCode: time 1.814e-06/41.15, allocations: 2.516 kB / 9.589 GB, free: 79.04 MB / 1.276 GB Notification: Performance of Templates: time 2.171/43.32, allocations: 492.3 MB / 10.07 GB, free: 72.41 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)