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.604/1.604, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001104/0.001104, allocations: 180.8 kB / 366.7 MB, free: 1.695 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.692/1.692, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0009389/0.0009393, allocations: 92.14 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.754e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7228/0.7228, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.758, allocations: 464.6 MB / 1.427 GB, free: 88.37 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/1.758, allocations: 91.2 kB / 1.427 GB, free: 88.32 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 36.93/38.69, allocations: 9.442 GB / 10.87 GB, free: 81.66 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.803e-06/38.69, allocations: 0 / 10.87 GB, free: 81.66 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003814/38.69, allocations: 0.5065 MB / 10.87 GB, free: 81.51 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.05913/38.75, allocations: 14.14 MB / 10.88 GB, free: 75.29 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 8.145e-05/38.75, allocations: 9.531 kB / 10.88 GB, free: 75.29 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02216/38.77, allocations: 2.305 MB / 10.89 GB, free: 74.25 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0723/38.84, allocations: 23.24 MB / 10.91 GB, free: 71.31 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007227/38.85, allocations: 256.3 kB / 10.91 GB, free: 71.31 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006157/38.85, allocations: 0.583 MB / 10.91 GB, free: 71.31 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0334/38.88, allocations: 19.65 MB / 10.93 GB, free: 70.67 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04032/38.93, allocations: 15.39 MB / 10.94 GB, free: 64.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004871/38.93, allocations: 15.75 kB / 10.94 GB, free: 64.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004237/38.93, allocations: 17.59 kB / 10.94 GB, free: 64.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/38.93, allocations: 215.7 kB / 10.94 GB, free: 63.99 MB / 1.214 GB Warning: The model contains alias variables with conflicting start and/or 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.1405/39.07, allocations: 78.36 MB / 11.02 GB, free: 10.66 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 1.146/40.22, allocations: 12.13 MB / 11.03 GB, free: 108.6 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0183/40.24, allocations: 9.579 MB / 11.04 GB, free: 108.5 MB / 1.229 GB Warning: The model contains alias variables with conflicting start and/or 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.08455/40.32, allocations: 32.79 MB / 11.07 GB, free: 100.2 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01629/40.34, allocations: 8.882 MB / 11.08 GB, free: 100 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05187/40.39, allocations: 14.96 MB / 11.1 GB, free: 100 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 8.626e-05/40.39, allocations: 0 / 11.1 GB, free: 100 MB / 1.229 GB Notification: Performance of matching and sorting (n=563): time 0.6513/41.04, allocations: 138.4 MB / 11.23 GB, free: 96.41 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006631/41.04, allocations: 2.508 MB / 11.23 GB, free: 93.39 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03709/41.08, allocations: 13.87 MB / 11.25 GB, free: 92.63 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004649/41.08, allocations: 45.33 kB / 11.25 GB, free: 92.6 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01136/41.09, allocations: 7.933 MB / 11.26 GB, free: 91.21 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.004996/41.1, allocations: 1.925 MB / 11.26 GB, free: 90.2 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003122/41.1, allocations: 0 / 11.26 GB, free: 90.2 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0007778/41.1, allocations: 0.672 MB / 11.26 GB, free: 89.88 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0133/41.12, allocations: 8.351 MB / 11.27 GB, free: 89.84 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02/41.14, allocations: 11.79 MB / 11.28 GB, free: 85.88 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02056/41.16, allocations: 9.806 MB / 11.29 GB, free: 85.64 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/41.16, allocations: 13.59 kB / 11.29 GB, free: 85.64 MB / 1.229 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.5984/41.75, allocations: 124.1 MB / 11.41 GB, free: 57.36 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.008604/41.76, allocations: 38.13 MB / 11.45 GB, free: 18.16 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006452/41.76, allocations: 114.7 kB / 11.45 GB, free: 18.05 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763/43.53, allocations: 143.2 MB / 11.59 GB, free: 130.4 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/43.54, allocations: 2.123 MB / 11.59 GB, free: 130.4 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1319/43.67, allocations: 65.58 MB / 11.65 GB, free: 125.7 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02183/43.69, allocations: 0.9639 MB / 11.65 GB, free: 125.7 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005471/43.7, allocations: 0.8364 MB / 11.65 GB, free: 125.7 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/43.7, allocations: 4.438 kB / 11.65 GB, free: 125.7 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5795/44.28, allocations: 121.4 MB / 11.77 GB, free: 123.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004793/44.28, allocations: 120.7 kB / 11.77 GB, free: 123.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.602/44.88, allocations: 143.3 MB / 11.91 GB, free: 15.87 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/44.89, allocations: 2.122 MB / 11.91 GB, free: 13.91 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084/45.97, allocations: 68.64 MB / 11.98 GB, free: 155.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01993/45.99, allocations: 0.9272 MB / 11.98 GB, free: 155.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004527/46, allocations: 0.7953 MB / 11.98 GB, free: 155.8 MB / 1.292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (945): * Single equations (assignments): 869 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005501/46, allocations: 348.9 kB / 11.98 GB, free: 155.7 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005216/46.01, allocations: 1.476 MB / 11.98 GB, free: 155.7 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1855/46.2, allocations: 43.22 MB / 12.03 GB, free: 155.1 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001416/46.2, allocations: 69.3 kB / 12.03 GB, free: 155.1 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001056/46.2, allocations: 27.28 kB / 12.03 GB, free: 155.1 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1632/46.36, allocations: 38.11 MB / 12.06 GB, free: 154.5 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2036/46.56, allocations: 56.97 MB / 12.12 GB, free: 150.6 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.476e-05/46.56, allocations: 1.156 kB / 12.12 GB, free: 150.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006775/46.57, allocations: 1.11 MB / 12.12 GB, free: 150.6 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1756/46.75, allocations: 40.46 MB / 12.16 GB, free: 150.6 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001906/46.75, allocations: 154.1 kB / 12.16 GB, free: 150.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05149/46.8, allocations: 25.9 MB / 12.19 GB, free: 145.9 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/46.8, allocations: 2.062 kB / 12.19 GB, free: 145.9 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1728/46.97, allocations: 48.57 MB / 12.23 GB, free: 144.6 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01204/46.98, allocations: 3.152 MB / 12.24 GB, free: 143.7 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006148/46.99, allocations: 80.27 kB / 12.24 GB, free: 143.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01542/47.01, allocations: 0.7487 MB / 12.24 GB, free: 143.6 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002692/47.01, allocations: 416.7 kB / 12.24 GB, free: 143.6 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009845/47.01, allocations: 255.7 kB / 12.24 GB, free: 143.6 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.01992/47.03, allocations: 10.4 MB / 12.25 GB, free: 143.2 MB / 1.292 GB Notification: Performance of sort global known variables: time 5.61e-07/47.03, allocations: 7.219 kB / 12.25 GB, free: 143.2 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05823/47.09, allocations: 7.867 MB / 12.26 GB, free: 143.2 MB / 1.292 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (519): * Single equations (assignments): 499 * 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: 2 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009595/47.1, allocations: 5.282 MB / 12.26 GB, free: 139.8 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.0679/47.16, allocations: 35.19 MB / 12.29 GB, free: 120.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.105e-05/47.16, allocations: 10.62 kB / 12.29 GB, free: 120.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01651/47.18, allocations: 8.173 MB / 12.3 GB, free: 116.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0399/47.22, allocations: 7.418 MB / 12.31 GB, free: 112.6 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05734/47.28, allocations: 26.06 MB / 12.34 GB, free: 93.25 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01201/47.29, allocations: 8.938 MB / 12.34 GB, free: 88.01 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03463/47.33, allocations: 8.272 MB / 12.35 GB, free: 83.21 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003671/47.33, allocations: 0.8372 MB / 12.35 GB, free: 82.5 MB / 1.292 GB Notification: Performance of SimCode: time 7.41e-07/47.33, allocations: 4 kB / 12.35 GB, free: 82.5 MB / 1.292 GB Notification: Performance of Templates: time 2.646/49.97, allocations: 424.7 MB / 12.77 GB, free: 88.46 MB / 1.292 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)