Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.673/1.673, allocations: 297.8 MB / 313.7 MB, free: 88 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 169.9 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008409/0.0008408, allocations: 100.5 kB / 0.7808 GB, free: 50.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 16.48 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7926, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9606/1.753, allocations: 455.5 MB / 1.471 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.754, allocations: 103.1 kB / 1.471 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 43.78/45.53, allocations: 10.42 GB / 11.89 GB, free: 93.79 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.946e-06/45.53, allocations: 0 / 11.89 GB, free: 93.79 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.003641/45.53, allocations: 351.7 kB / 11.89 GB, free: 93.73 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.07344/45.61, allocations: 17.44 MB / 11.91 GB, free: 87.49 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/45.61, allocations: 9.688 kB / 11.91 GB, free: 87.49 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/45.62, allocations: 2.237 MB / 11.91 GB, free: 86.7 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06578/45.69, allocations: 19.11 MB / 11.93 GB, free: 84.04 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/45.69, allocations: 0.5257 MB / 11.93 GB, free: 84.03 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004759/45.7, allocations: 0.7111 MB / 11.93 GB, free: 84.03 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/45.74, allocations: 13.38 MB / 11.94 GB, free: 83.42 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005619/45.74, allocations: 14.38 kB / 11.94 GB, free: 83.42 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004201/45.74, allocations: 246.1 kB / 11.94 GB, free: 83.42 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000241/45.74, allocations: 152.5 kB / 11.94 GB, free: 83.42 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03828/45.78, allocations: 17.98 MB / 11.96 GB, free: 83.37 MB / 1.245 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.1438/45.92, allocations: 70.01 MB / 12.03 GB, free: 51.48 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01944/45.94, allocations: 9.771 MB / 12.04 GB, free: 51.32 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01543/45.96, allocations: 8.633 MB / 12.05 GB, free: 51.25 MB / 1.245 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.07474/46.03, allocations: 29.4 MB / 12.08 GB, free: 43.16 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01688/46.05, allocations: 8.31 MB / 12.08 GB, free: 43.04 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04507/46.09, allocations: 15.21 MB / 12.1 GB, free: 42.26 MB / 1.245 GB Notification: Performance of pre-optimization done (n=393): time 5.233e-05/46.09, allocations: 0 / 12.1 GB, free: 42.26 MB / 1.245 GB Notification: Performance of matching and sorting (n=581): time 0.473/46.57, allocations: 126.8 MB / 12.22 GB, free: 6.383 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/46.57, allocations: 119.8 kB / 12.22 GB, free: 6.254 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04829/46.62, allocations: 14.21 MB / 12.24 GB, free: 13.14 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.004415/46.62, allocations: 183 kB / 12.24 GB, free: 12.96 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.01088/46.63, allocations: 5.998 MB / 12.24 GB, free: 7.484 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.00545/46.64, allocations: 1.961 MB / 12.24 GB, free: 5.707 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003559/46.64, allocations: 141.2 kB / 12.24 GB, free: 5.57 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0008286/46.64, allocations: 0.5989 MB / 12.25 GB, free: 5.055 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192/47.83, allocations: 8.71 MB / 12.25 GB, free: 110.1 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02182/47.86, allocations: 11.26 MB / 12.26 GB, free: 107.2 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04321/47.9, allocations: 19.24 MB / 12.28 GB, free: 105.4 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/47.9, allocations: 13.97 kB / 12.28 GB, free: 105.4 MB / 1.26 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.08503/47.98, allocations: 28.73 MB / 12.31 GB, free: 105 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001297/47.99, allocations: 1.538 MB / 12.31 GB, free: 103.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/47.99, allocations: 45.69 kB / 12.31 GB, free: 103.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6801/48.67, allocations: 171.8 MB / 12.48 GB, free: 101.9 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/48.68, allocations: 1.854 MB / 12.48 GB, free: 101.9 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05647/48.73, allocations: 27.39 MB / 12.51 GB, free: 96.73 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02194/48.76, allocations: 1.286 MB / 12.51 GB, free: 96.66 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00474/48.76, allocations: 0.8016 MB / 12.51 GB, free: 96.66 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/48.76, allocations: 3.938 kB / 12.51 GB, free: 96.66 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06916/48.83, allocations: 27.4 MB / 12.54 GB, free: 96.15 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002211/48.83, allocations: 44.31 kB / 12.54 GB, free: 96.15 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6572/49.49, allocations: 171.6 MB / 12.71 GB, free: 5.75 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/49.5, allocations: 1.844 MB / 12.71 GB, free: 4.031 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142/50.64, allocations: 31.74 MB / 12.74 GB, free: 150.7 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02346/50.66, allocations: 1.26 MB / 12.74 GB, free: 150.7 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005666/50.67, allocations: 0.7592 MB / 12.74 GB, free: 150.7 MB / 1.307 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 (662): * Single equations (assignments): 648 * 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 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01743/50.69, allocations: 3.117 MB / 12.74 GB, free: 150.5 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008405/50.7, allocations: 1.212 MB / 12.75 GB, free: 150.5 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1144/50.81, allocations: 30.9 MB / 12.78 GB, free: 149.9 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001874/50.81, allocations: 76.77 kB / 12.78 GB, free: 149.9 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.502e-05/50.81, allocations: 3.344 kB / 12.78 GB, free: 149.9 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08547/50.9, allocations: 25.32 MB / 12.8 GB, free: 149.3 MB / 1.307 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.1466/51.04, allocations: 50.49 MB / 12.85 GB, free: 142.9 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001326/51.04, allocations: 12.53 kB / 12.85 GB, free: 142.9 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007026/51.05, allocations: 1.246 MB / 12.85 GB, free: 142.9 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1981/51.25, allocations: 50 MB / 12.9 GB, free: 142.8 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002318/51.25, allocations: 204 kB / 12.9 GB, free: 142.8 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/51.27, allocations: 15.48 MB / 12.91 GB, free: 137.7 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/51.27, allocations: 12.31 kB / 12.91 GB, free: 137.7 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07677/51.35, allocations: 32.59 MB / 12.95 GB, free: 136.6 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01227/51.36, allocations: 2.961 MB / 12.95 GB, free: 136.4 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006359/51.37, allocations: 131.8 kB / 12.95 GB, free: 136.4 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01767/51.39, allocations: 1.009 MB / 12.95 GB, free: 136.3 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003143/51.39, allocations: 467.5 kB / 12.95 GB, free: 136.3 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00244/51.39, allocations: 285.4 kB / 12.95 GB, free: 136.3 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.02467/51.42, allocations: 9.142 MB / 12.96 GB, free: 136 MB / 1.307 GB Notification: Performance of sort global known variables: time 4.61e-07/51.42, allocations: 0.6562 kB / 12.96 GB, free: 136 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.05215/51.47, allocations: 6.584 MB / 12.97 GB, free: 136 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (490): * Single equations (assignments): 468 * 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: 4 * 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: 0 * Non-linear torn systems: 4 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01052/51.48, allocations: 4.941 MB / 12.97 GB, free: 134.1 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.08836/51.57, allocations: 35.7 MB / 13.01 GB, free: 133.4 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 3.021e-05/51.57, allocations: 0 / 13.01 GB, free: 133.4 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.02675/51.6, allocations: 10.04 MB / 13.02 GB, free: 133.2 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06277/51.66, allocations: 6.214 MB / 13.02 GB, free: 133 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06163/51.72, allocations: 30.26 MB / 13.05 GB, free: 121.7 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01655/51.74, allocations: 6.949 MB / 13.06 GB, free: 117.5 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.02282/51.76, allocations: 3.764 MB / 13.06 GB, free: 114.8 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006129/51.77, allocations: 0.9921 MB / 13.06 GB, free: 114 MB / 1.307 GB Notification: Performance of SimCode: time 1.002e-06/51.77, allocations: 0 / 13.06 GB, free: 114 MB / 1.307 GB Notification: Performance of Templates: time 2.688/54.45, allocations: 414.7 MB / 13.47 GB, free: 131.9 MB / 1.307 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)