Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.701/1.701, allocations: 297.8 MB / 313.7 MB, free: 100 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.001111/0.001111, allocations: 187 kB / 384.6 MB, free: 10.85 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.476/1.476, allocations: 223.3 MB / 0.6626 GB, free: 4.305 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.0009104/0.0009104, allocations: 95.05 kB / 0.7808 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 15.94 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7602, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9924/1.753, allocations: 454.9 MB / 1.471 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.753, allocations: 100.1 kB / 1.471 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 42.05/43.81, allocations: 10.48 GB / 11.95 GB, free: 111.8 MB / 1.276 GB Notification: Performance of FrontEnd: time 1.633e-06/43.81, allocations: 3.281 kB / 11.95 GB, free: 111.8 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.004869/43.81, allocations: 382.9 kB / 11.95 GB, free: 111.7 MB / 1.276 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.08663/43.9, allocations: 18.61 MB / 11.97 GB, free: 105 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/43.9, allocations: 15.08 kB / 11.97 GB, free: 105 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01724/43.92, allocations: 2.192 MB / 11.97 GB, free: 104.1 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0717/43.99, allocations: 20.51 MB / 11.99 GB, free: 101.2 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/43.99, allocations: 0.5986 MB / 11.99 GB, free: 101.2 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005996/44, allocations: 0.8124 MB / 11.99 GB, free: 101.2 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04556/44.04, allocations: 14.29 MB / 12.01 GB, free: 100.4 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006735/44.04, allocations: 18.81 kB / 12.01 GB, free: 100.4 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004798/44.05, allocations: 287.2 kB / 12.01 GB, free: 100.4 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002881/44.05, allocations: 185.6 kB / 12.01 GB, free: 100.4 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03871/44.09, allocations: 18.48 MB / 12.02 GB, free: 100.4 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 preOpt removeSimpleEquations (simulation): time 0.1467/44.23, allocations: 74.1 MB / 12.1 GB, free: 66.5 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01779/44.25, allocations: 9.812 MB / 12.11 GB, free: 66.32 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01468/44.26, allocations: 8.665 MB / 12.11 GB, free: 66.25 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 preOpt evalFunc (simulation): time 0.07153/44.34, allocations: 30.14 MB / 12.14 GB, free: 57.64 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01672/44.35, allocations: 8.28 MB / 12.15 GB, free: 57.52 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04728/44.4, allocations: 14.96 MB / 12.17 GB, free: 56.73 MB / 1.276 GB Notification: Performance of pre-optimization done (n=427): time 5.559e-05/44.4, allocations: 0 / 12.17 GB, free: 56.73 MB / 1.276 GB Notification: Performance of matching and sorting (n=613): time 0.4119/44.81, allocations: 112.7 MB / 12.28 GB, free: 33.74 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/44.81, allocations: 116.2 kB / 12.28 GB, free: 33.61 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0404/44.85, allocations: 14.2 MB / 12.29 GB, free: 21.97 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.004559/44.86, allocations: 200.3 kB / 12.29 GB, free: 21.77 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.01141/44.87, allocations: 6.659 MB / 12.3 GB, free: 15.7 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.007462/44.88, allocations: 2.065 MB / 12.3 GB, free: 13.83 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004194/44.88, allocations: 157.7 kB / 12.3 GB, free: 13.68 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0008802/44.88, allocations: 0.6187 MB / 12.3 GB, free: 13.14 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01838/44.9, allocations: 8.625 MB / 12.31 GB, free: 6.059 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02747/44.93, allocations: 11.82 MB / 12.32 GB, free: 12.19 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.368/46.3, allocations: 21.2 MB / 12.34 GB, free: 123.7 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/46.3, allocations: 14.56 kB / 12.34 GB, free: 123.7 MB / 1.292 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.09325/46.39, allocations: 28.53 MB / 12.37 GB, free: 123.4 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002034/46.39, allocations: 1.736 MB / 12.37 GB, free: 121.3 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/46.39, allocations: 53.53 kB / 12.37 GB, free: 121.3 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5937/46.98, allocations: 147.8 MB / 12.51 GB, free: 120.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01212/47, allocations: 2.051 MB / 12.52 GB, free: 120.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05042/47.05, allocations: 25.29 MB / 12.54 GB, free: 115.4 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02658/47.07, allocations: 1.369 MB / 12.54 GB, free: 115.4 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005376/47.08, allocations: 0.8207 MB / 12.54 GB, free: 115.4 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/47.08, allocations: 3.75 kB / 12.54 GB, free: 115.4 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07472/47.15, allocations: 27.13 MB / 12.57 GB, free: 114.9 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003257/47.15, allocations: 50.72 kB / 12.57 GB, free: 114.9 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.56/47.71, allocations: 147.7 MB / 12.71 GB, free: 55.48 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/47.73, allocations: 2.039 MB / 12.72 GB, free: 53.59 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05912/47.78, allocations: 29.58 MB / 12.75 GB, free: 31.51 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02429/47.81, allocations: 1.333 MB / 12.75 GB, free: 30.38 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005506/47.81, allocations: 0.7743 MB / 12.75 GB, free: 29.66 MB / 1.292 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.0171/47.83, allocations: 3.378 MB / 12.75 GB, free: 27.63 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008126/47.84, allocations: 1.294 MB / 12.75 GB, free: 27.03 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08504/47.93, allocations: 26.54 MB / 12.78 GB, free: 9.508 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001512/47.93, allocations: 77.47 kB / 12.78 GB, free: 9.434 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/47.93, allocations: 8 kB / 12.78 GB, free: 9.426 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06017/47.99, allocations: 20.91 MB / 12.8 GB, free: 11.75 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 1.396/49.38, allocations: 57.95 MB / 12.85 GB, free: 151.1 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001055/49.38, allocations: 12.44 kB / 12.85 GB, free: 151.1 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007596/49.39, allocations: 1.348 MB / 12.86 GB, free: 151.1 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1844/49.57, allocations: 43.02 MB / 12.9 GB, free: 151 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002557/49.58, allocations: 206.3 kB / 12.9 GB, free: 151 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/49.6, allocations: 14.37 MB / 12.91 GB, free: 146 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/49.6, allocations: 10.75 kB / 12.91 GB, free: 146 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1076/49.71, allocations: 36.26 MB / 12.95 GB, free: 144.8 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01316/49.72, allocations: 3.109 MB / 12.95 GB, free: 144.8 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006996/49.73, allocations: 138.1 kB / 12.95 GB, free: 144.8 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01755/49.75, allocations: 1.063 MB / 12.95 GB, free: 144.8 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002927/49.75, allocations: 481.4 kB / 12.95 GB, free: 144.7 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002374/49.75, allocations: 307.8 kB / 12.95 GB, free: 144.7 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.02704/49.78, allocations: 9.637 MB / 12.96 GB, free: 144.4 MB / 1.323 GB Notification: Performance of sort global known variables: time 9.72e-07/49.78, allocations: 0 / 12.96 GB, free: 144.4 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.06036/49.84, allocations: 7.146 MB / 12.97 GB, free: 144.4 MB / 1.323 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.01256/49.85, allocations: 5.423 MB / 12.97 GB, free: 142.4 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.09378/49.95, allocations: 34.95 MB / 13.01 GB, free: 141.8 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 2.416e-05/49.95, allocations: 7.406 kB / 13.01 GB, free: 141.8 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.02475/49.97, allocations: 9.774 MB / 13.02 GB, free: 141.6 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06837/50.04, allocations: 6.744 MB / 13.02 GB, free: 141.6 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08014/50.12, allocations: 32.45 MB / 13.06 GB, free: 129.9 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02079/50.14, allocations: 7.422 MB / 13.06 GB, free: 128.7 MB / 1.323 GB Notification: Performance of simCode: alias equations: time 0.02874/50.17, allocations: 4.091 MB / 13.07 GB, free: 128.1 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008707/50.18, allocations: 1.088 MB / 13.07 GB, free: 128.1 MB / 1.323 GB Notification: Performance of SimCode: time 1.163e-06/50.18, allocations: 0 / 13.07 GB, free: 128.1 MB / 1.323 GB Notification: Performance of Templates: time 1.765/51.94, allocations: 426.5 MB / 13.49 GB, free: 162.1 MB / 1.339 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)