Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 289.7 MB / 302.3 MB, free: 2.125 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.001122/0.001122, allocations: 180.6 kB / 371.6 MB, free: 3.43 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.728/1.728, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.000945/0.000945, allocations: 92.25 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.869e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2936, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.857/2.151, allocations: 465.8 MB / 1.435 GB, free: 293.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/2.151, allocations: 90.81 kB / 1.435 GB, free: 293.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 45.66/47.81, allocations: 10.33 GB / 11.76 GB, free: 105.5 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.875e-06/47.81, allocations: 0 / 11.76 GB, free: 105.5 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.004332/47.82, allocations: 389.6 kB / 11.76 GB, free: 105.4 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.06521/47.88, allocations: 12.11 MB / 11.78 GB, free: 100.2 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/47.88, allocations: 9.688 kB / 11.78 GB, free: 100.2 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/47.9, allocations: 2.181 MB / 11.78 GB, free: 99.35 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07203/47.97, allocations: 20.07 MB / 11.8 GB, free: 97.09 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/47.97, allocations: 0.6033 MB / 11.8 GB, free: 97.08 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005006/47.98, allocations: 0.8103 MB / 11.8 GB, free: 97.07 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03587/48.02, allocations: 13.99 MB / 11.81 GB, free: 96.29 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000247/48.02, allocations: 9.531 kB / 11.81 GB, free: 96.29 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00204/48.02, allocations: 292 kB / 11.81 GB, free: 96.29 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/48.02, allocations: 188.1 kB / 11.81 GB, free: 96.29 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03227/48.05, allocations: 18.06 MB / 11.83 GB, free: 96.22 MB / 1.245 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.1348/48.19, allocations: 74.18 MB / 11.9 GB, free: 62.41 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/48.2, allocations: 9.525 MB / 11.91 GB, free: 62.26 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01305/48.22, allocations: 8.481 MB / 11.92 GB, free: 62.2 MB / 1.245 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.06957/48.28, allocations: 30.28 MB / 11.95 GB, free: 53.57 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0144/48.3, allocations: 8.106 MB / 11.96 GB, free: 53.44 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0467/48.35, allocations: 14.97 MB / 11.97 GB, free: 52.86 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 4.512e-05/48.35, allocations: 0 / 11.97 GB, free: 52.86 MB / 1.245 GB Notification: Performance of matching and sorting (n=613): time 0.237/48.58, allocations: 73.41 MB / 12.04 GB, free: 39.92 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/48.58, allocations: 115.2 kB / 12.04 GB, free: 39.85 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03255/48.62, allocations: 12.6 MB / 12.06 GB, free: 35.45 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.003756/48.62, allocations: 194 kB / 12.06 GB, free: 35.31 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.00892/48.63, allocations: 6.677 MB / 12.06 GB, free: 30.09 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.005375/48.63, allocations: 2.066 MB / 12.07 GB, free: 28.48 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00329/48.64, allocations: 158 kB / 12.07 GB, free: 28.36 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0006573/48.64, allocations: 0.6271 MB / 12.07 GB, free: 27.9 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01211/48.65, allocations: 7.807 MB / 12.07 GB, free: 24.73 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01485/48.67, allocations: 10.6 MB / 12.08 GB, free: 15.45 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/48.68, allocations: 8.796 MB / 12.09 GB, free: 8.047 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-05/48.68, allocations: 13.78 kB / 12.09 GB, free: 8.035 MB / 1.245 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.06368/48.74, allocations: 26.01 MB / 12.12 GB, free: 2.785 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.195/49.94, allocations: 34.79 MB / 12.15 GB, free: 119.8 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/49.94, allocations: 53.84 kB / 12.15 GB, free: 119.8 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6485/50.59, allocations: 146.4 MB / 12.29 GB, free: 119.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/50.6, allocations: 1.957 MB / 12.3 GB, free: 119.6 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04441/50.64, allocations: 24.6 MB / 12.32 GB, free: 114.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02238/50.67, allocations: 1.365 MB / 12.32 GB, free: 114.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004771/50.67, allocations: 0.8164 MB / 12.32 GB, free: 114.4 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/50.67, allocations: 4.812 kB / 12.32 GB, free: 114.4 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05739/50.73, allocations: 24.92 MB / 12.35 GB, free: 114 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002433/50.73, allocations: 51.59 kB / 12.35 GB, free: 114 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6253/51.35, allocations: 146.8 MB / 12.49 GB, free: 66.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009359/51.36, allocations: 1.948 MB / 12.49 GB, free: 64.69 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04525/51.41, allocations: 28.88 MB / 12.52 GB, free: 43.01 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01819/51.43, allocations: 1.33 MB / 12.52 GB, free: 41.88 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002582/51.43, allocations: 0.774 MB / 12.52 GB, free: 41.17 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.002822/51.43, allocations: 0.5609 MB / 12.52 GB, free: 40.95 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003723/51.44, allocations: 1.284 MB / 12.52 GB, free: 40.36 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06657/51.5, allocations: 26.69 MB / 12.55 GB, free: 22.18 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001479/51.5, allocations: 72 kB / 12.55 GB, free: 22.11 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/51.5, allocations: 7.938 kB / 12.55 GB, free: 22.1 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05822/51.56, allocations: 21.12 MB / 12.57 GB, free: 7.738 MB / 1.276 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 postOpt removeSimpleEquations (simulation): time 1.233/52.79, allocations: 59.97 MB / 12.63 GB, free: 160.1 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.533e-05/52.79, allocations: 5.625 kB / 12.63 GB, free: 160.1 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007606/52.8, allocations: 1.36 MB / 12.63 GB, free: 160.1 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1872/52.99, allocations: 41.92 MB / 12.67 GB, free: 160.1 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00226/52.99, allocations: 205.6 kB / 12.67 GB, free: 160.1 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/53.01, allocations: 13.63 MB / 12.69 GB, free: 155 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/53.01, allocations: 15.14 kB / 12.69 GB, free: 155 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1078/53.12, allocations: 38.62 MB / 12.72 GB, free: 151.6 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01257/53.13, allocations: 3.096 MB / 12.73 GB, free: 151.5 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006697/53.14, allocations: 137.3 kB / 12.73 GB, free: 151.5 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01795/53.16, allocations: 1.055 MB / 12.73 GB, free: 151.5 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002599/53.16, allocations: 472.9 kB / 12.73 GB, free: 151.4 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002015/53.16, allocations: 306.2 kB / 12.73 GB, free: 151.4 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.02001/53.18, allocations: 9.601 MB / 12.74 GB, free: 151 MB / 1.307 GB Notification: Performance of sort global known variables: time 3.7e-07/53.18, allocations: 0 / 12.74 GB, free: 151 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.04858/53.23, allocations: 7.165 MB / 12.74 GB, free: 151 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01023/53.24, allocations: 5.554 MB / 12.75 GB, free: 149 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.06863/53.31, allocations: 32.95 MB / 12.78 GB, free: 148.4 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/53.31, allocations: 6.062 kB / 12.78 GB, free: 148.4 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.01666/53.33, allocations: 8.933 MB / 12.79 GB, free: 148.2 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03726/53.36, allocations: 6.819 MB / 12.8 GB, free: 148.2 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0465/53.41, allocations: 22.86 MB / 12.82 GB, free: 143.5 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01103/53.42, allocations: 7.669 MB / 12.83 GB, free: 142.5 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.03398/53.46, allocations: 6.77 MB / 12.83 GB, free: 142.3 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003962/53.46, allocations: 0.7987 MB / 12.83 GB, free: 142.3 MB / 1.307 GB Notification: Performance of SimCode: time 9.12e-07/53.46, allocations: 0 / 12.83 GB, free: 142.3 MB / 1.307 GB Notification: Performance of Templates: time 2.944/56.4, allocations: 450.7 MB / 13.28 GB, free: 157.3 MB / 1.323 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)