Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.627/2.627, allocations: 287.5 MB / 303.2 MB, free: 8.293 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.001333/0.001333, allocations: 184.2 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009414/0.0009414, allocations: 90.34 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006345, allocations: 15.5 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2306, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.009/2.239, allocations: 463.9 MB / 1.432 GB, free: 336.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005587/2.24, allocations: 101.2 kB / 1.432 GB, free: 336.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 34.69/36.93, allocations: 6.397 GB / 7.83 GB, free: 10.92 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.246e-06/36.93, allocations: 0 / 7.83 GB, free: 10.92 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.005289/36.93, allocations: 0.5342 MB / 7.83 GB, free: 10.39 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.1185/37.05, allocations: 21.25 MB / 7.851 GB, free: 4.973 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/37.05, allocations: 12.02 kB / 7.851 GB, free: 4.961 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01921/37.07, allocations: 2.313 MB / 7.853 GB, free: 2.625 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.478/39.55, allocations: 23.82 MB / 7.877 GB, free: 75.07 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00142/39.55, allocations: 0.7242 MB / 7.877 GB, free: 75.05 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007368/39.56, allocations: 1.032 MB / 7.878 GB, free: 75.03 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06032/39.62, allocations: 17.07 MB / 7.895 GB, free: 73.18 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005936/39.62, allocations: 11.75 kB / 7.895 GB, free: 73.18 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00503/39.62, allocations: 364.1 kB / 7.895 GB, free: 73.18 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004194/39.62, allocations: 218.4 kB / 7.896 GB, free: 73.18 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05695/39.68, allocations: 19.94 MB / 7.915 GB, free: 73.12 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.2053/39.88, allocations: 78.36 MB / 7.992 GB, free: 41.57 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03219/39.92, allocations: 12.56 MB / 8.004 GB, free: 41.11 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02391/39.94, allocations: 9.638 MB / 8.013 GB, free: 41.02 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.1147/40.06, allocations: 33.7 MB / 8.046 GB, free: 32.5 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02625/40.08, allocations: 9.545 MB / 8.056 GB, free: 32.33 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08089/40.16, allocations: 15.12 MB / 8.07 GB, free: 32.07 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 5.075e-05/40.16, allocations: 0 / 8.07 GB, free: 32.07 MB / 1.214 GB Notification: Performance of matching and sorting (n=860): time 1.823/41.99, allocations: 223.5 MB / 8.289 GB, free: 2.703 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008259/41.99, allocations: 2.537 MB / 8.291 GB, free: 15.59 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0514/42.04, allocations: 16.46 MB / 8.307 GB, free: 292 kB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005289/42.04, allocations: 279.6 kB / 8.307 GB, free: 12 kB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0155/42.06, allocations: 7.859 MB / 8.315 GB, free: 8.117 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.007692/42.07, allocations: 2.986 MB / 8.318 GB, free: 5.156 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003877/42.07, allocations: 209.3 kB / 8.318 GB, free: 4.957 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001197/42.07, allocations: 0.7537 MB / 8.319 GB, free: 4.199 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381/44.45, allocations: 10.69 MB / 8.329 GB, free: 96.83 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0496/44.5, allocations: 14.48 MB / 8.344 GB, free: 92.92 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08407/44.59, allocations: 23.57 MB / 8.367 GB, free: 91 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/44.59, allocations: 12 kB / 8.367 GB, free: 91 MB / 1.245 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.245/45.83, allocations: 133.2 MB / 8.497 GB, free: 90.19 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001197/45.83, allocations: 1.584 MB / 8.498 GB, free: 88.22 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005242/45.83, allocations: 114.1 kB / 8.498 GB, free: 88.22 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306/47.14, allocations: 154.3 MB / 8.649 GB, free: 83.76 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02597/47.16, allocations: 2.609 MB / 8.652 GB, free: 81.98 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1961/47.36, allocations: 57.91 MB / 8.708 GB, free: 37.38 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03676/47.4, allocations: 1.517 MB / 8.71 GB, free: 36.13 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006262/47.4, allocations: 0.9196 MB / 8.71 GB, free: 35.3 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/47.4, allocations: 5.531 kB / 8.71 GB, free: 35.3 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.497/49.9, allocations: 131.1 MB / 8.839 GB, free: 108 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005467/49.9, allocations: 109.5 kB / 8.839 GB, free: 108 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361/51.26, allocations: 153.9 MB / 8.989 GB, free: 107.4 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02271/51.29, allocations: 2.559 MB / 8.991 GB, free: 107.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2314/51.52, allocations: 64.64 MB / 9.055 GB, free: 103 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03524/51.55, allocations: 1.492 MB / 9.056 GB, free: 103 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006461/51.56, allocations: 0.8774 MB / 9.057 GB, free: 103 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 (990): * Single equations (assignments): 910 * 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.02122/51.58, allocations: 4.29 MB / 9.061 GB, free: 102.8 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008389/51.59, allocations: 1.575 MB / 9.063 GB, free: 102.8 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3738/51.96, allocations: 54.25 MB / 9.116 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002294/51.96, allocations: 106.2 kB / 9.116 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002159/51.96, allocations: 29.12 kB / 9.116 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3433/52.31, allocations: 48.04 MB / 9.163 GB, free: 71.39 MB / 1.276 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 postOpt removeSimpleEquations (simulation): time 0.4181/52.72, allocations: 73.85 MB / 9.235 GB, free: 14.63 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001537/52.73, allocations: 0 / 9.235 GB, free: 14.63 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01671/52.74, allocations: 1.678 MB / 9.236 GB, free: 13.06 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573/54.32, allocations: 46.62 MB / 9.282 GB, free: 122.8 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003446/54.32, allocations: 355.7 kB / 9.282 GB, free: 122.8 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09172/54.41, allocations: 29.24 MB / 9.311 GB, free: 115.7 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/54.41, allocations: 3.938 kB / 9.311 GB, free: 115.7 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3934/54.8, allocations: 62.73 MB / 9.372 GB, free: 114.6 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01658/54.82, allocations: 3.758 MB / 9.376 GB, free: 114.5 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00844/54.83, allocations: 295 kB / 9.376 GB, free: 114.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02793/54.86, allocations: 1.313 MB / 9.377 GB, free: 114.5 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003822/54.86, allocations: 0.6035 MB / 9.378 GB, free: 114.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002925/54.86, allocations: 376.1 kB / 9.378 GB, free: 114.5 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03321/54.9, allocations: 11.19 MB / 9.389 GB, free: 114.1 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.042e-06/54.9, allocations: 0 / 9.389 GB, free: 114.1 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.0604/54.96, allocations: 8.375 MB / 9.397 GB, free: 114.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (665): * Single equations (assignments): 641 * 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: 4 * 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: 3 {33 156,33 119,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01481/54.97, allocations: 5.503 MB / 9.403 GB, free: 112.1 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1673/55.14, allocations: 45.99 MB / 9.448 GB, free: 108.8 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-05/55.14, allocations: 12.16 kB / 9.448 GB, free: 108.8 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.04703/55.19, allocations: 12.61 MB / 9.46 GB, free: 108.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08439/55.27, allocations: 7.852 MB / 9.468 GB, free: 108.3 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1139/55.39, allocations: 41.55 MB / 9.508 GB, free: 94.03 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02293/55.41, allocations: 9.187 MB / 9.517 GB, free: 92.89 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03962/55.45, allocations: 5.109 MB / 9.522 GB, free: 92.73 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009215/55.46, allocations: 1.262 MB / 9.523 GB, free: 92.73 MB / 1.292 GB Notification: Performance of SimCode: time 1.243e-06/55.46, allocations: 0 / 9.523 GB, free: 92.73 MB / 1.292 GB Notification: Performance of Templates: time 2.278/57.73, allocations: 458.2 MB / 9.971 GB, free: 126.9 MB / 1.292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)