Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.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: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.609/2.609, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001631/0.001631, allocations: 174.3 kB / 370.8 MB, free: 10.89 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001202/0.001201, allocations: 101 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 12.28 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.223, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.06/2.283, allocations: 464 MB / 1.431 GB, free: 272.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004654/2.283, allocations: 100 kB / 1.432 GB, free: 272.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 49.72/52, allocations: 8.723 GB / 10.15 GB, free: 83.03 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.036e-06/52, allocations: 0 / 10.15 GB, free: 83.03 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005463/52.01, allocations: 0.5172 MB / 10.16 GB, free: 82.92 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.1206/52.13, allocations: 21.43 MB / 10.18 GB, free: 74.98 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/52.13, allocations: 15.84 kB / 10.18 GB, free: 74.97 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007884/52.13, allocations: 1.09 MB / 10.18 GB, free: 74.89 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/52.16, allocations: 2.304 MB / 10.18 GB, free: 73.86 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1106/52.27, allocations: 23.52 MB / 10.2 GB, free: 71 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001414/52.27, allocations: 0.716 MB / 10.2 GB, free: 70.98 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006848/52.27, allocations: 1.024 MB / 10.2 GB, free: 70.96 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05598/52.33, allocations: 16.88 MB / 10.22 GB, free: 68.97 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006012/52.33, allocations: 12.47 kB / 10.22 GB, free: 68.97 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004926/52.34, allocations: 360.8 kB / 10.22 GB, free: 68.97 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003138/52.34, allocations: 218.4 kB / 10.22 GB, free: 68.96 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05407/52.39, allocations: 19.85 MB / 10.24 GB, free: 68.84 MB / 1.214 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.2027/52.59, allocations: 79.4 MB / 10.32 GB, free: 29.51 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03057/52.62, allocations: 11.95 MB / 10.33 GB, free: 24.02 MB / 1.214 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.1001/52.72, allocations: 33.01 MB / 10.36 GB, free: 4.164 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04116/52.77, allocations: 10.19 MB / 10.37 GB, free: 15.47 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08644/52.85, allocations: 14.9 MB / 10.39 GB, free: 5.02 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 4.117e-05/52.85, allocations: 0 / 10.39 GB, free: 5.02 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 3.069/55.92, allocations: 200.5 MB / 10.58 GB, free: 95.93 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001002/55.92, allocations: 2.528 MB / 10.58 GB, free: 92.92 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05198/55.97, allocations: 14.91 MB / 10.6 GB, free: 92.11 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005912/55.98, allocations: 264.9 kB / 10.6 GB, free: 92.08 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01559/56, allocations: 7.905 MB / 10.61 GB, free: 90.71 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007286/56, allocations: 2.814 MB / 10.61 GB, free: 89.27 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005304/56.01, allocations: 212.9 kB / 10.61 GB, free: 89.27 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001391/56.01, allocations: 0.7461 MB / 10.61 GB, free: 88.95 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03509/56.05, allocations: 10.36 MB / 10.62 GB, free: 88.89 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04205/56.09, allocations: 14.06 MB / 10.63 GB, free: 84.86 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04918/56.14, allocations: 11.67 MB / 10.65 GB, free: 84.53 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/56.14, allocations: 12.66 kB / 10.65 GB, free: 84.53 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.306/57.44, allocations: 130 MB / 10.77 GB, free: 49.97 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007371/57.45, allocations: 36.69 MB / 10.81 GB, free: 12.37 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006444/57.45, allocations: 114.5 kB / 10.81 GB, free: 12.26 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728/60.18, allocations: 147.1 MB / 10.95 GB, free: 124.8 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02748/60.21, allocations: 2.687 MB / 10.96 GB, free: 124.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.332/60.54, allocations: 76.37 MB / 11.03 GB, free: 117.8 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03683/60.58, allocations: 1.557 MB / 11.03 GB, free: 117.8 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006288/60.58, allocations: 0.9142 MB / 11.03 GB, free: 117.8 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/60.58, allocations: 8.859 kB / 11.03 GB, free: 117.8 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.277/61.86, allocations: 128.6 MB / 11.16 GB, free: 115.4 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006149/61.86, allocations: 112.8 kB / 11.16 GB, free: 115.4 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347/63.21, allocations: 147.4 MB / 11.3 GB, free: 4.203 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02541/63.23, allocations: 2.672 MB / 11.3 GB, free: 1.711 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569/64.8, allocations: 80.69 MB / 11.38 GB, free: 153.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0359/64.84, allocations: 1.523 MB / 11.39 GB, free: 153.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006081/64.84, allocations: 0.874 MB / 11.39 GB, free: 153.7 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1061): * Single equations (assignments): 981 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02183/64.86, allocations: 4.275 MB / 11.39 GB, free: 153.5 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009719/64.87, allocations: 1.552 MB / 11.39 GB, free: 153.5 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3853/65.26, allocations: 50.84 MB / 11.44 GB, free: 152.9 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002136/65.26, allocations: 104.8 kB / 11.44 GB, free: 152.9 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002174/65.26, allocations: 32 kB / 11.44 GB, free: 152.9 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.351/65.61, allocations: 44.8 MB / 11.49 GB, free: 152.2 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4537/66.06, allocations: 69.14 MB / 11.55 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001616/66.07, allocations: 0 / 11.55 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01932/66.08, allocations: 1.844 MB / 11.55 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3562/66.44, allocations: 42.26 MB / 11.6 GB, free: 147.9 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003481/66.44, allocations: 337.7 kB / 11.6 GB, free: 147.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1163/66.56, allocations: 31.61 MB / 11.63 GB, free: 140.8 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/66.56, allocations: 0 / 11.63 GB, free: 140.8 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.386/66.95, allocations: 59.05 MB / 11.68 GB, free: 115.1 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01683/66.96, allocations: 3.655 MB / 11.69 GB, free: 112.9 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008491/66.97, allocations: 272 kB / 11.69 GB, free: 112.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02959/67, allocations: 1.342 MB / 11.69 GB, free: 112.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004819/67.01, allocations: 0.5932 MB / 11.69 GB, free: 111.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003259/67.01, allocations: 359.2 kB / 11.69 GB, free: 111.5 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03326/67.04, allocations: 11.42 MB / 11.7 GB, free: 105.7 MB / 1.292 GB Notification: Performance of sort global known variables: time 9.32e-07/67.04, allocations: 0 / 11.7 GB, free: 105.7 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06922/67.11, allocations: 8.807 MB / 11.71 GB, free: 97.98 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * 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 (716): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.3913/67.5, allocations: 64.57 MB / 11.77 GB, free: 50.28 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 1.347/68.85, allocations: 43.6 MB / 11.82 GB, free: 155.8 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.581e-05/68.85, allocations: 13.66 kB / 11.82 GB, free: 155.8 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.04429/68.9, allocations: 11.48 MB / 11.83 GB, free: 155.5 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06944/68.96, allocations: 7.768 MB / 11.83 GB, free: 155.4 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1563/69.12, allocations: 91.49 MB / 11.92 GB, free: 94.41 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02403/69.15, allocations: 9.401 MB / 11.93 GB, free: 93.28 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04388/69.19, allocations: 5.523 MB / 11.94 GB, free: 93.14 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0253/69.21, allocations: 8.19 MB / 11.95 GB, free: 93.14 MB / 1.292 GB Notification: Performance of SimCode: time 1.703e-06/69.21, allocations: 0 / 11.95 GB, free: 93.14 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.86/73.07, allocations: 0.6146 GB / 12.56 GB, free: 141.2 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/73.07, allocations: 248.6 kB / 12.56 GB, free: 140.9 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.69/110.8, allocations: 3.938 kB / 12.56 GB, free: 140.9 MB / 1.307 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)