Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001295/0.001295, allocations: 175.5 kB / 371.6 MB, free: 3.461 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.475/1.475, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 90.48 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.355e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2537, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.672/1.926, allocations: 464.8 MB / 1.434 GB, free: 292.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.926, allocations: 90.59 kB / 1.434 GB, free: 292.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 29.85/31.77, allocations: 6.415 GB / 7.849 GB, free: 87.11 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.176e-06/31.77, allocations: 1.719 kB / 7.849 GB, free: 87.11 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004957/31.78, allocations: 0.527 MB / 7.85 GB, free: 86.99 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.06325/31.84, allocations: 14.17 MB / 7.864 GB, free: 81.26 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/31.84, allocations: 10.94 kB / 7.864 GB, free: 81.26 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006805/31.85, allocations: 1.06 MB / 7.865 GB, free: 81.18 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/31.87, allocations: 2.312 MB / 7.867 GB, free: 80.16 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08511/31.95, allocations: 23.32 MB / 7.89 GB, free: 77.59 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002719/31.96, allocations: 0.7242 MB / 7.89 GB, free: 77.57 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009012/31.97, allocations: 1.029 MB / 7.891 GB, free: 77.55 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06277/32.03, allocations: 16.76 MB / 7.908 GB, free: 75.7 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009539/32.03, allocations: 17.34 kB / 7.908 GB, free: 75.69 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006213/32.04, allocations: 359.3 kB / 7.908 GB, free: 75.69 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/32.04, allocations: 221.7 kB / 7.908 GB, free: 75.69 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0443/32.08, allocations: 19.54 MB / 7.927 GB, free: 75.63 MB / 1.214 GB Warning: The model contains alias variables with conflicting start and/or 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.1828/32.26, allocations: 78.51 MB / 8.004 GB, free: 43.72 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02469/32.29, allocations: 12.3 MB / 8.016 GB, free: 43.27 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01832/32.31, allocations: 9.467 MB / 8.025 GB, free: 43.17 MB / 1.214 GB Warning: The model contains alias variables with conflicting start and/or 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.09423/32.4, allocations: 33.83 MB / 8.058 GB, free: 34.49 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02046/32.42, allocations: 9.369 MB / 8.068 GB, free: 34.32 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0493/32.47, allocations: 15.15 MB / 8.082 GB, free: 33.73 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 6.773e-05/32.47, allocations: 1.875 kB / 8.082 GB, free: 33.73 MB / 1.214 GB Notification: Performance of matching and sorting (n=860): time 0.7252/33.2, allocations: 173.5 MB / 8.252 GB, free: 15.5 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001242/33.2, allocations: 2.535 MB / 8.254 GB, free: 12.39 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04339/33.24, allocations: 14.75 MB / 8.269 GB, free: 15.71 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.00578/33.25, allocations: 278.4 kB / 8.269 GB, free: 15.43 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01364/33.26, allocations: 7.894 MB / 8.277 GB, free: 8.172 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.007862/33.27, allocations: 2.98 MB / 8.28 GB, free: 5.469 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004105/33.27, allocations: 213.6 kB / 8.28 GB, free: 5.266 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001117/33.27, allocations: 0.7567 MB / 8.28 GB, free: 4.641 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03732/33.31, allocations: 11.12 MB / 8.291 GB, free: 0 / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39/34.7, allocations: 13.44 MB / 8.304 GB, free: 110 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02454/34.73, allocations: 11.08 MB / 8.315 GB, free: 109.8 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/34.73, allocations: 13.5 kB / 8.315 GB, free: 109.8 MB / 1.245 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.6203/35.35, allocations: 129.7 MB / 8.442 GB, free: 108.7 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.006974/35.35, allocations: 32.96 MB / 8.474 GB, free: 74.34 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005535/35.35, allocations: 111.2 kB / 8.474 GB, free: 74.34 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6275/35.98, allocations: 151.8 MB / 8.623 GB, free: 69.89 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/36, allocations: 2.51 MB / 8.625 GB, free: 69.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1541/36.15, allocations: 75.9 MB / 8.699 GB, free: 11.82 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02805/36.18, allocations: 1.512 MB / 8.701 GB, free: 10.58 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006523/36.18, allocations: 0.9111 MB / 8.701 GB, free: 9.75 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/36.18, allocations: 0 / 8.701 GB, free: 9.75 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.83/38.01, allocations: 128.3 MB / 8.827 GB, free: 138.3 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005637/38.02, allocations: 115 kB / 8.827 GB, free: 138.3 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6429/38.66, allocations: 152.7 MB / 8.976 GB, free: 137.2 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/38.67, allocations: 2.478 MB / 8.978 GB, free: 137.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1845/38.86, allocations: 82.52 MB / 9.059 GB, free: 132.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02378/38.88, allocations: 1.488 MB / 9.06 GB, free: 132.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005272/38.88, allocations: 0.8646 MB / 9.061 GB, free: 132.7 MB / 1.292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (990): * Single equations (assignments): 910 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.01095/38.9, allocations: 0.7257 MB / 9.062 GB, free: 132.6 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008631/38.9, allocations: 1.565 MB / 9.063 GB, free: 132.6 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2045/39.11, allocations: 50.97 MB / 9.113 GB, free: 114.7 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001952/39.11, allocations: 102.8 kB / 9.113 GB, free: 114.6 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001482/39.11, allocations: 31.98 kB / 9.113 GB, free: 114.6 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.18/39.29, allocations: 44.83 MB / 9.157 GB, free: 77.75 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2388/39.53, allocations: 70.19 MB / 9.226 GB, free: 23.79 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001057/39.53, allocations: 3.281 kB / 9.226 GB, free: 23.79 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009743/39.54, allocations: 1.687 MB / 9.227 GB, free: 22.21 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426/40.96, allocations: 44.73 MB / 9.271 GB, free: 135.8 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003329/40.97, allocations: 347.2 kB / 9.271 GB, free: 135.8 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07185/41.04, allocations: 33.11 MB / 9.304 GB, free: 128.8 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/41.04, allocations: 1.984 kB / 9.304 GB, free: 128.8 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2058/41.25, allocations: 58.7 MB / 9.361 GB, free: 127.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01487/41.26, allocations: 3.744 MB / 9.365 GB, free: 127.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008367/41.27, allocations: 281.1 kB / 9.365 GB, free: 127.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01933/41.29, allocations: 1.311 MB / 9.366 GB, free: 127.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00419/41.29, allocations: 0.6019 MB / 9.367 GB, free: 127.1 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003033/41.3, allocations: 365.7 kB / 9.367 GB, free: 127.1 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.0283/41.32, allocations: 11.24 MB / 9.378 GB, free: 126.6 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.072e-06/41.32, allocations: 2.25 kB / 9.378 GB, free: 126.6 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06622/41.39, allocations: 8.809 MB / 9.387 GB, free: 126.6 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (669): * Single equations (assignments): 645 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.2276/41.62, allocations: 63.94 MB / 9.449 GB, free: 122 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.0968/41.71, allocations: 43.47 MB / 9.492 GB, free: 118.4 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.572e-05/41.71, allocations: 12.03 kB / 9.492 GB, free: 118.4 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02642/41.74, allocations: 11.46 MB / 9.503 GB, free: 118 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04746/41.79, allocations: 7.798 MB / 9.51 GB, free: 117.9 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/41.9, allocations: 34.35 MB / 9.544 GB, free: 111.9 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02047/41.92, allocations: 9.504 MB / 9.553 GB, free: 108.8 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04503/41.96, allocations: 8.626 MB / 9.562 GB, free: 103.8 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01771/41.98, allocations: 7.847 MB / 9.569 GB, free: 103 MB / 1.292 GB Notification: Performance of SimCode: time 1.282e-06/41.98, allocations: 0 / 9.569 GB, free: 103 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.456/46.44, allocations: 0.6651 GB / 10.23 GB, free: 176.3 MB / 1.354 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/46.44, allocations: 226.7 kB / 10.23 GB, free: 176 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.22/98.66, allocations: 3.125 kB / 10.23 GB, free: 176 MB / 1.354 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Basic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Basic.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)