Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.677/2.677, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001541/0.001541, allocations: 172.9 kB / 370.8 MB, free: 10.86 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.171/2.171, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001201/0.001201, allocations: 103.8 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006496/0.0006496, allocations: 15.5 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.228, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.107/2.335, allocations: 463.7 MB / 1.431 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004277/2.335, allocations: 97.69 kB / 1.431 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 37.42/39.76, allocations: 6.434 GB / 7.865 GB, free: 89.34 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.725e-06/39.76, allocations: 1.938 kB / 7.865 GB, free: 89.34 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005543/39.76, allocations: 0.5265 MB / 7.866 GB, free: 89.23 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.127/39.89, allocations: 21.43 MB / 7.887 GB, free: 81.82 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/39.89, allocations: 12.72 kB / 7.887 GB, free: 81.82 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008707/39.9, allocations: 1.086 MB / 7.888 GB, free: 81.74 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02376/39.92, allocations: 2.315 MB / 7.89 GB, free: 80.72 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1168/40.04, allocations: 23.61 MB / 7.913 GB, free: 78.15 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001558/40.04, allocations: 0.7227 MB / 7.914 GB, free: 78.13 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008424/40.05, allocations: 1.035 MB / 7.915 GB, free: 78.11 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06302/40.11, allocations: 17 MB / 7.931 GB, free: 76.27 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006958/40.11, allocations: 13.66 kB / 7.931 GB, free: 76.27 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006253/40.12, allocations: 358.5 kB / 7.932 GB, free: 76.27 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003674/40.12, allocations: 223.1 kB / 7.932 GB, free: 76.27 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05893/40.18, allocations: 19.94 MB / 7.951 GB, free: 76.2 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.2176/40.4, allocations: 78.57 MB / 8.028 GB, free: 44.26 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03462/40.43, allocations: 12.55 MB / 8.04 GB, free: 43.8 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.1168/40.55, allocations: 33.6 MB / 8.073 GB, free: 35.23 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02806/40.58, allocations: 9.529 MB / 8.082 GB, free: 35.05 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08282/40.66, allocations: 14.92 MB / 8.097 GB, free: 34.59 MB / 1.214 GB Notification: Performance of pre-optimization done (n=605): time 5.774e-05/40.66, allocations: 0 / 8.097 GB, free: 34.59 MB / 1.214 GB Notification: Performance of matching and sorting (n=859): time 1.84/42.5, allocations: 212.9 MB / 8.305 GB, free: 9.215 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001368/42.5, allocations: 2.539 MB / 8.307 GB, free: 6.094 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.29/43.79, allocations: 14.86 MB / 8.322 GB, free: 91.03 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005353/43.79, allocations: 276.5 kB / 8.322 GB, free: 91 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01558/43.81, allocations: 7.887 MB / 8.33 GB, free: 90.53 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.00822/43.82, allocations: 2.975 MB / 8.333 GB, free: 90.43 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004924/43.82, allocations: 209.8 kB / 8.333 GB, free: 90.43 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001357/43.82, allocations: 0.7559 MB / 8.334 GB, free: 90.1 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03708/43.86, allocations: 10.52 MB / 8.344 GB, free: 90.08 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04471/43.91, allocations: 14.26 MB / 8.358 GB, free: 86.17 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04176/43.95, allocations: 11.86 MB / 8.369 GB, free: 85.95 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001568/43.95, allocations: 16.94 kB / 8.369 GB, free: 85.95 MB / 1.229 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 1.31/45.26, allocations: 131.4 MB / 8.498 GB, free: 84.01 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.00731/45.27, allocations: 32.97 MB / 8.53 GB, free: 49.63 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007296/45.27, allocations: 112.9 kB / 8.53 GB, free: 49.63 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383/46.65, allocations: 152.5 MB / 8.679 GB, free: 40.07 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02536/46.67, allocations: 2.503 MB / 8.681 GB, free: 37.74 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3006/46.98, allocations: 79.03 MB / 8.759 GB, free: 10.07 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03789/47.01, allocations: 1.503 MB / 8.76 GB, free: 8.789 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006556/47.02, allocations: 0.9227 MB / 8.761 GB, free: 7.953 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/47.02, allocations: 4 kB / 8.761 GB, free: 7.949 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.59/49.61, allocations: 129.9 MB / 8.888 GB, free: 123.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000571/49.61, allocations: 118.3 kB / 8.888 GB, free: 123.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436/51.05, allocations: 152.7 MB / 9.037 GB, free: 121.6 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02217/51.07, allocations: 2.469 MB / 9.039 GB, free: 121.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3287/51.4, allocations: 86.42 MB / 9.124 GB, free: 108.2 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03588/51.43, allocations: 1.49 MB / 9.125 GB, free: 107.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005889/51.44, allocations: 0.8647 MB / 9.126 GB, free: 106.7 MB / 1.276 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (989): * Single equations (assignments): 909 * 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.022/51.46, allocations: 4.297 MB / 9.13 GB, free: 104 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009592/51.47, allocations: 1.566 MB / 9.132 GB, free: 103.3 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3895/51.86, allocations: 52.57 MB / 9.183 GB, free: 61.36 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002335/51.86, allocations: 99.69 kB / 9.183 GB, free: 61.26 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002531/51.86, allocations: 33.75 kB / 9.183 GB, free: 61.23 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3493/52.21, allocations: 46.4 MB / 9.229 GB, free: 23.3 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.687/53.9, allocations: 71.61 MB / 9.299 GB, free: 110.2 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000158/53.9, allocations: 5.219 kB / 9.299 GB, free: 110.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01747/53.92, allocations: 1.69 MB / 9.3 GB, free: 110.2 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3692/54.28, allocations: 44.75 MB / 9.344 GB, free: 110.1 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003483/54.29, allocations: 352.3 kB / 9.344 GB, free: 110.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1237/54.41, allocations: 34.25 MB / 9.378 GB, free: 103 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/54.41, allocations: 2.812 kB / 9.378 GB, free: 103 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4069/54.82, allocations: 60.99 MB / 9.437 GB, free: 101.5 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01732/54.84, allocations: 3.743 MB / 9.441 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009102/54.85, allocations: 281.3 kB / 9.441 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02822/54.87, allocations: 1.314 MB / 9.442 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004854/54.88, allocations: 0.6058 MB / 9.443 GB, free: 101.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003275/54.88, allocations: 366.1 kB / 9.443 GB, free: 101.4 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03433/54.92, allocations: 11.4 MB / 9.455 GB, free: 101 MB / 1.276 GB Notification: Performance of sort global known variables: time 8.91e-07/54.92, allocations: 0.75 kB / 9.455 GB, free: 101 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.06536/54.98, allocations: 8.815 MB / 9.463 GB, free: 101 MB / 1.276 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 (668): * Single equations (assignments): 644 * 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.4222/55.4, allocations: 66.23 MB / 9.528 GB, free: 96.38 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1758/55.58, allocations: 45.44 MB / 9.572 GB, free: 92.84 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-05/55.58, allocations: 11.53 kB / 9.572 GB, free: 92.84 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.04601/55.63, allocations: 12.27 MB / 9.584 GB, free: 92.39 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06794/55.69, allocations: 7.791 MB / 9.592 GB, free: 88.38 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1586/55.85, allocations: 88.71 MB / 9.678 GB, free: 9.547 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02236/55.88, allocations: 9.484 MB / 9.688 GB, free: 3.93 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.0386/55.91, allocations: 5.132 MB / 9.693 GB, free: 300 kB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03008/55.94, allocations: 8.239 MB / 9.701 GB, free: 15.33 MB / 1.292 GB Notification: Performance of SimCode: time 1.623e-06/55.94, allocations: 0 / 9.701 GB, free: 15.33 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.114/61.06, allocations: 0.6323 GB / 10.33 GB, free: 143.7 MB / 1.354 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/61.06, allocations: 249.4 kB / 10.33 GB, free: 143.4 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.21/98.27, allocations: 0 / 10.33 GB, free: 143.4 MB / 1.354 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Basic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Basic.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)