Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.537/2.537, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001396/0.001395, allocations: 180.8 kB / 371.8 MB, free: 10.82 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.066/2.066, 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.001023/0.001022, allocations: 98.34 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005112, allocations: 11.38 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2227, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.006/2.228, allocations: 464.9 MB / 1.433 GB, free: 336.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004206/2.229, allocations: 105.2 kB / 1.433 GB, free: 336.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 58.01/60.24, allocations: 10.3 GB / 11.73 GB, free: 99.45 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.015e-06/60.24, allocations: 0 / 11.73 GB, free: 99.45 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003824/60.25, allocations: 391.4 kB / 11.73 GB, free: 99.38 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.1009/60.35, allocations: 18.56 MB / 11.75 GB, free: 92.82 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/60.35, allocations: 9.312 kB / 11.75 GB, free: 92.82 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/60.37, allocations: 2.185 MB / 11.75 GB, free: 91.96 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09729/60.46, allocations: 20.43 MB / 11.77 GB, free: 89.12 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/60.47, allocations: 0.6021 MB / 11.77 GB, free: 89.11 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005273/60.47, allocations: 0.8142 MB / 11.77 GB, free: 89.11 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04886/60.52, allocations: 14.28 MB / 11.79 GB, free: 88.32 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005222/60.52, allocations: 18.19 kB / 11.79 GB, free: 88.31 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004407/60.52, allocations: 292.4 kB / 11.79 GB, free: 88.31 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/60.53, allocations: 186.4 kB / 11.79 GB, free: 88.31 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05059/60.58, allocations: 18.47 MB / 11.81 GB, free: 88.25 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.1807/60.76, allocations: 74.04 MB / 11.88 GB, free: 54.42 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02528/60.78, allocations: 9.802 MB / 11.89 GB, free: 54.26 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02181/60.8, allocations: 8.662 MB / 11.9 GB, free: 54.18 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.09811/60.9, allocations: 30.12 MB / 11.93 GB, free: 45.55 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02251/60.92, allocations: 8.28 MB / 11.93 GB, free: 45.44 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08011/61, allocations: 14.96 MB / 11.95 GB, free: 44.96 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 3.739e-05/61, allocations: 0 / 11.95 GB, free: 44.96 MB / 1.229 GB Notification: Performance of matching and sorting (n=613): time 0.7946/61.8, allocations: 112.7 MB / 12.06 GB, free: 34.84 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/61.8, allocations: 120 kB / 12.06 GB, free: 34.77 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04121/61.84, allocations: 14.06 MB / 12.07 GB, free: 31.48 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004204/61.84, allocations: 191.2 kB / 12.07 GB, free: 31.34 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01176/61.86, allocations: 6.659 MB / 12.08 GB, free: 26.12 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005506/61.86, allocations: 2.072 MB / 12.08 GB, free: 24.51 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003671/61.87, allocations: 155.4 kB / 12.08 GB, free: 24.39 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0007877/61.87, allocations: 0.6171 MB / 12.08 GB, free: 23.94 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02836/61.9, allocations: 8.623 MB / 12.09 GB, free: 20.71 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03117/61.93, allocations: 11.45 MB / 12.1 GB, free: 11.7 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09377/62.02, allocations: 21.4 MB / 12.12 GB, free: 15.14 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-05/62.02, allocations: 16 kB / 12.12 GB, free: 15.12 MB / 1.245 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 1.365/63.39, allocations: 29.42 MB / 12.15 GB, free: 109.3 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001451/63.39, allocations: 1.737 MB / 12.15 GB, free: 107.3 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/63.39, allocations: 52.5 kB / 12.15 GB, free: 107.3 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35/64.74, allocations: 147.8 MB / 12.3 GB, free: 106.7 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02184/64.76, allocations: 2.048 MB / 12.3 GB, free: 106.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07849/64.84, allocations: 25.3 MB / 12.32 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03312/64.87, allocations: 1.363 MB / 12.32 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0053/64.88, allocations: 0.8147 MB / 12.33 GB, free: 101.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/64.88, allocations: 4.281 kB / 12.33 GB, free: 101.5 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1019/64.98, allocations: 27.12 MB / 12.35 GB, free: 101 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/64.98, allocations: 57.06 kB / 12.35 GB, free: 101 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328/66.31, allocations: 147.7 MB / 12.5 GB, free: 46.41 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01886/66.32, allocations: 2.043 MB / 12.5 GB, free: 44.51 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09032/66.41, allocations: 29.58 MB / 12.53 GB, free: 22.44 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03159/66.45, allocations: 1.332 MB / 12.53 GB, free: 21.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004981/66.45, allocations: 0.7722 MB / 12.53 GB, free: 20.59 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.01525/66.47, allocations: 3.354 MB / 12.53 GB, free: 18.57 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006297/66.47, allocations: 1.288 MB / 12.53 GB, free: 17.98 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1213/66.59, allocations: 26.53 MB / 12.56 GB, free: 472 kB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001632/66.59, allocations: 81.31 kB / 12.56 GB, free: 396 kB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/66.59, allocations: 0.625 kB / 12.56 GB, free: 396 kB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09899/66.69, allocations: 20.91 MB / 12.58 GB, free: 2.707 MB / 1.26 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.621/68.31, allocations: 57.89 MB / 12.64 GB, free: 151.8 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001284/68.31, allocations: 8.875 kB / 12.64 GB, free: 151.8 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01437/68.33, allocations: 1.354 MB / 12.64 GB, free: 151.8 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3499/68.68, allocations: 43.03 MB / 12.68 GB, free: 151.7 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002422/68.68, allocations: 207.9 kB / 12.68 GB, free: 151.7 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03835/68.72, allocations: 14.36 MB / 12.69 GB, free: 146.7 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/68.72, allocations: 11.03 kB / 12.69 GB, free: 146.7 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1698/68.89, allocations: 36.25 MB / 12.73 GB, free: 145.6 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0146/68.9, allocations: 3.077 MB / 12.73 GB, free: 145.5 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007122/68.91, allocations: 135.7 kB / 12.73 GB, free: 145.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02431/68.94, allocations: 1.054 MB / 12.73 GB, free: 145.5 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003105/68.94, allocations: 482.3 kB / 12.73 GB, free: 145.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002144/68.94, allocations: 307.5 kB / 12.73 GB, free: 145.5 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02926/68.97, allocations: 9.536 MB / 12.74 GB, free: 145.1 MB / 1.292 GB Notification: Performance of sort global known variables: time 9.62e-07/68.97, allocations: 0 / 12.74 GB, free: 145.1 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06876/69.04, allocations: 7.119 MB / 12.75 GB, free: 145.1 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.01338/69.05, allocations: 5.417 MB / 12.76 GB, free: 143.2 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1378/69.19, allocations: 34.96 MB / 12.79 GB, free: 142.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/69.19, allocations: 4.797 kB / 12.79 GB, free: 142.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.03758/69.23, allocations: 9.769 MB / 12.8 GB, free: 142.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.102/69.33, allocations: 6.816 MB / 12.81 GB, free: 142.3 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0876/69.42, allocations: 32.3 MB / 12.84 GB, free: 130.7 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01769/69.44, allocations: 7.387 MB / 12.85 GB, free: 129.6 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03433/69.47, allocations: 4.084 MB / 12.85 GB, free: 128.9 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007698/69.48, allocations: 1.079 MB / 12.85 GB, free: 128.9 MB / 1.292 GB Notification: Performance of SimCode: time 2.525e-06/69.48, allocations: 0 / 12.85 GB, free: 128.9 MB / 1.292 GB Notification: Performance of Templates: time 2.293/71.77, allocations: 423.7 MB / 13.26 GB, free: 161.9 MB / 1.307 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)