Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.62/1.62, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.00101/0.00101, allocations: 172.9 kB / 361.4 MB, free: 6.816 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.587/1.587, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001/0.001, allocations: 91.42 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.977e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7465, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.914, allocations: 463.5 MB / 1.417 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/1.914, allocations: 98.56 kB / 1.417 GB, free: 105 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 36.4/38.31, allocations: 8.659 GB / 10.08 GB, free: 94.47 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.845e-06/38.31, allocations: 0 / 10.08 GB, free: 94.47 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004291/38.32, allocations: 0.5175 MB / 10.08 GB, free: 94.36 MB / 1.198 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.06402/38.38, allocations: 14.14 MB / 10.09 GB, free: 88.59 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/38.38, allocations: 9.844 kB / 10.09 GB, free: 88.59 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/38.4, allocations: 2.309 MB / 10.09 GB, free: 87.57 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08404/38.49, allocations: 23.25 MB / 10.12 GB, free: 84.99 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007244/38.49, allocations: 263 kB / 10.12 GB, free: 84.99 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006591/38.49, allocations: 0.5804 MB / 10.12 GB, free: 84.98 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04451/38.54, allocations: 19.71 MB / 10.14 GB, free: 84.95 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05267/38.59, allocations: 15.43 MB / 10.15 GB, free: 83.12 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005089/38.59, allocations: 17.66 kB / 10.15 GB, free: 83.12 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00479/38.6, allocations: 17.41 kB / 10.15 GB, free: 83.12 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002325/38.6, allocations: 220.7 kB / 10.15 GB, free: 83.12 MB / 1.198 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.1463/38.74, allocations: 78 MB / 10.23 GB, free: 49.54 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/38.76, allocations: 12.4 MB / 10.24 GB, free: 49.13 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0137/38.77, allocations: 9.274 MB / 10.25 GB, free: 49.07 MB / 1.198 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.08536/38.86, allocations: 33.01 MB / 10.28 GB, free: 40.18 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0156/38.88, allocations: 8.976 MB / 10.29 GB, free: 40.01 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04475/38.92, allocations: 14.96 MB / 10.3 GB, free: 39.34 MB / 1.198 GB Notification: Performance of pre-optimization done (n=582): time 6.373e-05/38.92, allocations: 0 / 10.3 GB, free: 39.34 MB / 1.198 GB Notification: Performance of matching and sorting (n=584): time 0.6296/39.55, allocations: 138.9 MB / 10.44 GB, free: 22.37 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005812/39.55, allocations: 2.513 MB / 10.44 GB, free: 19.29 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03824/39.59, allocations: 13.86 MB / 10.45 GB, free: 11.19 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.004664/39.59, allocations: 50.45 kB / 10.46 GB, free: 11.13 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0119/39.61, allocations: 7.909 MB / 10.46 GB, free: 3.867 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005278/39.61, allocations: 1.988 MB / 10.46 GB, free: 2.027 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003999/39.62, allocations: 0 / 10.46 GB, free: 2.027 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.001048/39.62, allocations: 0.6802 MB / 10.47 GB, free: 1.449 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03838/39.65, allocations: 10.3 MB / 10.48 GB, free: 15.12 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02082/39.68, allocations: 11.86 MB / 10.49 GB, free: 2.746 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9796/40.66, allocations: 9.86 MB / 10.5 GB, free: 104.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/40.66, allocations: 15.34 kB / 10.5 GB, free: 104.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.6044/41.26, allocations: 124.3 MB / 10.62 GB, free: 103.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007542/41.27, allocations: 36.55 MB / 10.65 GB, free: 66.32 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005243/41.27, allocations: 116 kB / 10.65 GB, free: 66.32 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6289/41.9, allocations: 143.4 MB / 10.79 GB, free: 62.16 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/41.91, allocations: 2.135 MB / 10.8 GB, free: 61.73 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1551/42.06, allocations: 67.25 MB / 10.86 GB, free: 22.58 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02512/42.09, allocations: 0.9559 MB / 10.86 GB, free: 21.71 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005945/42.1, allocations: 0.8323 MB / 10.86 GB, free: 20.95 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/42.1, allocations: 4 kB / 10.86 GB, free: 20.94 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.825/43.92, allocations: 121.6 MB / 10.98 GB, free: 148.3 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000683/43.92, allocations: 119.6 kB / 10.98 GB, free: 148.3 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6313/44.55, allocations: 143.4 MB / 11.12 GB, free: 148.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/44.56, allocations: 2.107 MB / 11.12 GB, free: 148.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1638/44.73, allocations: 69.39 MB / 11.19 GB, free: 144.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02164/44.75, allocations: 0.9275 MB / 11.19 GB, free: 144.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005004/44.75, allocations: 0.7902 MB / 11.19 GB, free: 144.3 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (937): * Single equations (assignments): 859 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {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: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.008367/44.76, allocations: 353.6 kB / 11.19 GB, free: 144.2 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007724/44.77, allocations: 1.478 MB / 11.2 GB, free: 144.2 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1882/44.96, allocations: 43.6 MB / 11.24 GB, free: 143.3 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001542/44.96, allocations: 74.48 kB / 11.24 GB, free: 143.3 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000135/44.96, allocations: 29.19 kB / 11.24 GB, free: 143.3 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1711/45.13, allocations: 38.45 MB / 11.28 GB, free: 138.1 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2172/45.35, allocations: 58.18 MB / 11.33 GB, free: 93.36 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.039e-05/45.35, allocations: 0 / 11.33 GB, free: 93.36 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007/45.36, allocations: 1.134 MB / 11.33 GB, free: 92.32 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1767/45.53, allocations: 40.75 MB / 11.37 GB, free: 52.48 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00255/45.53, allocations: 156.5 kB / 11.37 GB, free: 52.36 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0565/45.59, allocations: 27.53 MB / 11.4 GB, free: 33.64 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/45.59, allocations: 6.25 kB / 11.4 GB, free: 33.64 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.206/46.8, allocations: 49.03 MB / 11.45 GB, free: 153.3 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01348/46.81, allocations: 3.181 MB / 11.45 GB, free: 153.2 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007642/46.82, allocations: 80.88 kB / 11.45 GB, free: 153.2 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01773/46.84, allocations: 0.8041 MB / 11.45 GB, free: 153.2 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003809/46.84, allocations: 426.1 kB / 11.45 GB, free: 153.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001992/46.84, allocations: 261.6 kB / 11.45 GB, free: 153.2 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03032/46.87, allocations: 10.41 MB / 11.46 GB, free: 152.8 MB / 1.276 GB Notification: Performance of sort global known variables: time 8.81e-07/46.87, allocations: 0 / 11.46 GB, free: 152.8 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05957/46.93, allocations: 7.887 MB / 11.47 GB, free: 152.8 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (527): * Single equations (assignments): 505 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {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: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01106/46.94, allocations: 5.281 MB / 11.48 GB, free: 150.9 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.07566/47.02, allocations: 35.61 MB / 11.51 GB, free: 147.8 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-05/47.02, allocations: 12.97 kB / 11.51 GB, free: 147.8 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01866/47.04, allocations: 8.344 MB / 11.52 GB, free: 147.6 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04534/47.08, allocations: 7.568 MB / 11.53 GB, free: 147.5 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07759/47.16, allocations: 26.13 MB / 11.55 GB, free: 142 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02055/47.18, allocations: 8.965 MB / 11.56 GB, free: 140.9 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.05203/47.23, allocations: 8.218 MB / 11.57 GB, free: 140.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006228/47.24, allocations: 0.8405 MB / 11.57 GB, free: 140.7 MB / 1.276 GB Notification: Performance of SimCode: time 1.333e-06/47.24, allocations: 0 / 11.57 GB, free: 140.7 MB / 1.276 GB Notification: Performance of Templates: time 2.433/49.67, allocations: 429.7 MB / 11.99 GB, free: 147.7 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)