Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.703/1.703, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.001082/0.001082, allocations: 193 kB / 373 MB, free: 10.11 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.717/1.717, allocations: 205.4 MB / 0.6317 GB, free: 9.863 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.0009135/0.0009135, allocations: 96.06 kB / 0.7451 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004387, allocations: 12.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2422, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.562/1.804, allocations: 465.1 MB / 1.435 GB, free: 336.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/1.805, allocations: 102.3 kB / 1.435 GB, free: 336.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 39.98/41.78, allocations: 10.3 GB / 11.73 GB, free: 106.8 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.124e-06/41.78, allocations: 2.562 kB / 11.73 GB, free: 106.8 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003288/41.79, allocations: 384.6 kB / 11.73 GB, free: 106.7 MB / 1.229 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.08037/41.87, allocations: 18.56 MB / 11.75 GB, free: 100.1 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/41.87, allocations: 9.219 kB / 11.75 GB, free: 100.1 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/41.88, allocations: 2.188 MB / 11.75 GB, free: 99.21 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06304/41.95, allocations: 20.43 MB / 11.77 GB, free: 96.37 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009137/41.95, allocations: 0.6 MB / 11.77 GB, free: 96.36 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004091/41.95, allocations: 0.8117 MB / 11.77 GB, free: 96.36 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03849/41.99, allocations: 14.28 MB / 11.79 GB, free: 95.57 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005111/41.99, allocations: 19.06 kB / 11.79 GB, free: 95.56 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0038/41.99, allocations: 294.1 kB / 11.79 GB, free: 95.56 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/41.99, allocations: 185.9 kB / 11.79 GB, free: 95.56 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03566/42.03, allocations: 18.48 MB / 11.81 GB, free: 95.5 MB / 1.229 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.1374/42.17, allocations: 74.04 MB / 11.88 GB, free: 61.66 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/42.18, allocations: 9.804 MB / 11.89 GB, free: 61.48 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01317/42.2, allocations: 8.664 MB / 11.9 GB, free: 61.41 MB / 1.229 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.07341/42.27, allocations: 30.12 MB / 11.93 GB, free: 52.79 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01506/42.29, allocations: 8.279 MB / 11.93 GB, free: 52.68 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04286/42.33, allocations: 14.95 MB / 11.95 GB, free: 52.09 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 4.121e-05/42.33, allocations: 4 kB / 11.95 GB, free: 52.09 MB / 1.229 GB Notification: Performance of matching and sorting (n=613): time 0.4107/42.74, allocations: 112.7 MB / 12.06 GB, free: 38.2 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/42.74, allocations: 118 kB / 12.06 GB, free: 38.12 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03365/42.77, allocations: 14.06 MB / 12.07 GB, free: 31.39 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004626/42.78, allocations: 194.5 kB / 12.07 GB, free: 31.2 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0102/42.79, allocations: 6.641 MB / 12.08 GB, free: 25.15 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005383/42.79, allocations: 2.074 MB / 12.08 GB, free: 23.27 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003305/42.8, allocations: 156 kB / 12.08 GB, free: 23.12 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0006566/42.8, allocations: 0.6183 MB / 12.08 GB, free: 22.59 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01791/42.82, allocations: 8.625 MB / 12.09 GB, free: 15.5 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02013/42.84, allocations: 11.44 MB / 12.1 GB, free: 4.605 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05002/42.89, allocations: 20.12 MB / 12.12 GB, free: 4.543 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.362e-05/42.89, allocations: 16 kB / 12.12 GB, free: 4.527 MB / 1.245 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 1.183/44.07, allocations: 29.73 MB / 12.15 GB, free: 118.4 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001455/44.07, allocations: 1.736 MB / 12.15 GB, free: 116.4 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/44.07, allocations: 53.25 kB / 12.15 GB, free: 116.4 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6501/44.72, allocations: 147.8 MB / 12.3 GB, free: 115.7 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/44.73, allocations: 2.054 MB / 12.3 GB, free: 115.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04868/44.78, allocations: 25.29 MB / 12.32 GB, free: 110.5 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02399/44.81, allocations: 1.364 MB / 12.33 GB, free: 110.5 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005093/44.81, allocations: 0.8203 MB / 12.33 GB, free: 110.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/44.81, allocations: 2.781 kB / 12.33 GB, free: 110.5 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07693/44.89, allocations: 27.12 MB / 12.35 GB, free: 110 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003137/44.89, allocations: 55.12 kB / 12.35 GB, free: 110 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6253/45.51, allocations: 147.8 MB / 12.5 GB, free: 40.7 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/45.52, allocations: 2.033 MB / 12.5 GB, free: 38.81 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05843/45.58, allocations: 29.58 MB / 12.53 GB, free: 16.75 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02378/45.61, allocations: 1.332 MB / 12.53 GB, free: 15.61 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004365/45.61, allocations: 0.7738 MB / 12.53 GB, free: 14.9 MB / 1.245 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 () * Number of clocked 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.01383/45.62, allocations: 3.36 MB / 12.53 GB, free: 12.88 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006274/45.63, allocations: 1.288 MB / 12.53 GB, free: 12.28 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07509/45.71, allocations: 26.54 MB / 12.56 GB, free: 10.77 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001734/45.71, allocations: 81.8 kB / 12.56 GB, free: 10.69 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/45.71, allocations: 0 / 12.56 GB, free: 10.69 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05758/45.76, allocations: 20.9 MB / 12.58 GB, free: 13.01 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 1.245/47.01, allocations: 57.9 MB / 12.64 GB, free: 161.6 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000103/47.01, allocations: 7.531 kB / 12.64 GB, free: 161.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007669/47.02, allocations: 1.348 MB / 12.64 GB, free: 161.6 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1964/47.21, allocations: 43.03 MB / 12.68 GB, free: 161.6 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002737/47.22, allocations: 202.7 kB / 12.68 GB, free: 161.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02613/47.24, allocations: 14.36 MB / 12.7 GB, free: 156.5 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/47.24, allocations: 12.09 kB / 12.7 GB, free: 156.5 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1017/47.34, allocations: 36.25 MB / 12.73 GB, free: 155.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01445/47.36, allocations: 3.078 MB / 12.73 GB, free: 155.3 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008071/47.37, allocations: 137.2 kB / 12.73 GB, free: 155.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01875/47.38, allocations: 1.056 MB / 12.73 GB, free: 155.3 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003082/47.39, allocations: 478.3 kB / 12.74 GB, free: 155.3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001721/47.39, allocations: 309.9 kB / 12.74 GB, free: 155.3 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.0253/47.42, allocations: 9.533 MB / 12.74 GB, free: 155 MB / 1.292 GB Notification: Performance of sort global known variables: time 6.91e-07/47.42, allocations: 1.125 kB / 12.74 GB, free: 155 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05998/47.48, allocations: 7.117 MB / 12.75 GB, free: 155 MB / 1.292 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) * Number of clocked states: 0 () * 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): 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 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01186/47.49, allocations: 5.423 MB / 12.76 GB, free: 153 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.09176/47.58, allocations: 34.95 MB / 12.79 GB, free: 152.3 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/47.58, allocations: 5.203 kB / 12.79 GB, free: 152.3 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02505/47.6, allocations: 9.775 MB / 12.8 GB, free: 152.2 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06861/47.67, allocations: 6.82 MB / 12.81 GB, free: 152.1 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0692/47.74, allocations: 32.29 MB / 12.84 GB, free: 140.5 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01514/47.76, allocations: 7.384 MB / 12.85 GB, free: 139.3 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02552/47.78, allocations: 4.077 MB / 12.85 GB, free: 138.7 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006314/47.79, allocations: 1.092 MB / 12.85 GB, free: 138.7 MB / 1.292 GB Notification: Performance of SimCode: time 1.282e-06/47.79, allocations: 0 / 12.85 GB, free: 138.7 MB / 1.292 GB Notification: Performance of Templates: time 1.687/49.48, allocations: 427.6 MB / 13.27 GB, free: 152.6 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)