Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3",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.793/2.793, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.00228/0.00228, allocations: 181.1 kB / 370.8 MB, free: 10.83 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.069/2.069, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001165/0.001164, allocations: 102.8 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005211, allocations: 17.14 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2245, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.047/2.272, allocations: 464.2 MB / 1.432 GB, free: 272.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/2.272, allocations: 104.4 kB / 1.432 GB, free: 272.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 54.92/57.19, allocations: 9.512 GB / 10.94 GB, free: 88.71 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.967e-06/57.19, allocations: 2.469 kB / 10.94 GB, free: 88.71 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.007551/57.2, allocations: 0.5092 MB / 10.94 GB, free: 88.6 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.1197/57.32, allocations: 21.42 MB / 10.96 GB, free: 80.86 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/57.32, allocations: 9.719 kB / 10.96 GB, free: 80.86 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006983/57.33, allocations: 1.091 MB / 10.97 GB, free: 80.78 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02073/57.35, allocations: 2.309 MB / 10.97 GB, free: 79.76 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1273/57.48, allocations: 23.52 MB / 10.99 GB, free: 77.15 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001576/57.48, allocations: 0.7111 MB / 10.99 GB, free: 77.13 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007068/57.49, allocations: 1.016 MB / 10.99 GB, free: 77.11 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05687/57.54, allocations: 16.83 MB / 11.01 GB, free: 75.25 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006647/57.54, allocations: 13.61 kB / 11.01 GB, free: 75.25 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005142/57.55, allocations: 359.6 kB / 11.01 GB, free: 75.25 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003054/57.55, allocations: 218.4 kB / 11.01 GB, free: 75.25 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.055/57.6, allocations: 19.82 MB / 11.03 GB, free: 75.19 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.206/57.81, allocations: 79.74 MB / 11.11 GB, free: 40.7 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02948/57.84, allocations: 11.7 MB / 11.12 GB, free: 40.24 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.1026/57.94, allocations: 32.68 MB / 11.15 GB, free: 31.61 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02468/57.97, allocations: 9.204 MB / 11.16 GB, free: 29.07 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07871/58.05, allocations: 14.9 MB / 11.17 GB, free: 27.54 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 4.425e-05/58.05, allocations: 0 / 11.17 GB, free: 27.54 MB / 1.229 GB Notification: Performance of matching and sorting (n=775): time 3.084/61.13, allocations: 203.9 MB / 11.37 GB, free: 95.28 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007635/61.13, allocations: 2.525 MB / 11.38 GB, free: 92.27 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04908/61.18, allocations: 14.92 MB / 11.39 GB, free: 91.46 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005261/61.18, allocations: 259.8 kB / 11.39 GB, free: 91.43 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01522/61.2, allocations: 7.879 MB / 11.4 GB, free: 90.06 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007108/61.21, allocations: 2.7 MB / 11.4 GB, free: 88.69 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005189/61.21, allocations: 203.9 kB / 11.4 GB, free: 88.69 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001357/61.21, allocations: 0.7398 MB / 11.4 GB, free: 88.37 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03435/61.25, allocations: 10.24 MB / 11.41 GB, free: 88.31 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03898/61.29, allocations: 13.9 MB / 11.43 GB, free: 84.27 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03906/61.33, allocations: 11.53 MB / 11.44 GB, free: 83.95 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/61.33, allocations: 16.12 kB / 11.44 GB, free: 83.95 MB / 1.229 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 1.262/62.59, allocations: 129.4 MB / 11.56 GB, free: 79.95 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007355/62.6, allocations: 38.28 MB / 11.6 GB, free: 40.88 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006714/62.6, allocations: 120.2 kB / 11.6 GB, free: 40.88 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601/65.2, allocations: 146.4 MB / 11.74 GB, free: 152.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02787/65.23, allocations: 2.682 MB / 11.75 GB, free: 152.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2857/65.51, allocations: 74.4 MB / 11.82 GB, free: 146.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03777/65.55, allocations: 1.552 MB / 11.82 GB, free: 146.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006019/65.56, allocations: 0.9046 MB / 11.82 GB, free: 146.8 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/65.56, allocations: 4.938 kB / 11.82 GB, free: 146.8 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.266/66.82, allocations: 128.1 MB / 11.95 GB, free: 145.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006492/66.82, allocations: 120.6 kB / 11.95 GB, free: 145.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33/68.15, allocations: 146.7 MB / 12.09 GB, free: 84.45 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02386/68.18, allocations: 2.668 MB / 12.09 GB, free: 81.96 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3008/68.48, allocations: 79.18 MB / 12.17 GB, free: 23.77 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03515/68.51, allocations: 1.521 MB / 12.17 GB, free: 22.49 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005561/68.52, allocations: 0.8675 MB / 12.17 GB, free: 21.7 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1067): * Single equations (assignments): 989 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.02052/68.54, allocations: 4.265 MB / 12.18 GB, free: 19.07 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009255/68.55, allocations: 1.546 MB / 12.18 GB, free: 18.12 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605/70.15, allocations: 50.02 MB / 12.23 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001974/70.15, allocations: 93.78 kB / 12.23 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000309/70.15, allocations: 28.06 kB / 12.23 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3307/70.48, allocations: 44.08 MB / 12.27 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4051/70.89, allocations: 67.2 MB / 12.34 GB, free: 143.3 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001345/70.89, allocations: 7.469 kB / 12.34 GB, free: 143.3 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01871/70.91, allocations: 1.792 MB / 12.34 GB, free: 143.3 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3446/71.25, allocations: 41.78 MB / 12.38 GB, free: 143.2 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00309/71.26, allocations: 334.8 kB / 12.38 GB, free: 143.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1105/71.37, allocations: 29.62 MB / 12.41 GB, free: 137.3 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/71.37, allocations: 0 / 12.41 GB, free: 137.3 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3674/71.73, allocations: 58.09 MB / 12.46 GB, free: 136 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01656/71.75, allocations: 3.598 MB / 12.47 GB, free: 135.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008909/71.76, allocations: 267.2 kB / 12.47 GB, free: 135.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02789/71.79, allocations: 1.271 MB / 12.47 GB, free: 135.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004578/71.79, allocations: 0.5609 MB / 12.47 GB, free: 135.1 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00307/71.8, allocations: 346.3 kB / 12.47 GB, free: 135.1 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.0337/71.83, allocations: 11.43 MB / 12.48 GB, free: 134.6 MB / 1.292 GB Notification: Performance of sort global known variables: time 8.12e-07/71.83, allocations: 1.812 kB / 12.48 GB, free: 134.6 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.08228/71.91, allocations: 8.773 MB / 12.49 GB, free: 129.4 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 (702): * Single equations (assignments): 680 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {6 81,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.3869/72.3, allocations: 63.87 MB / 12.55 GB, free: 93.01 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1531/72.45, allocations: 42.84 MB / 12.59 GB, free: 70.21 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-05/72.45, allocations: 14.75 kB / 12.59 GB, free: 70.2 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.04042/72.49, allocations: 11.16 MB / 12.6 GB, free: 63.16 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06515/72.56, allocations: 7.615 MB / 12.61 GB, free: 58.07 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.547/75.1, allocations: 92.56 MB / 12.7 GB, free: 82.12 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02875/75.13, allocations: 9.358 MB / 12.71 GB, free: 80.99 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04496/75.18, allocations: 5.529 MB / 12.72 GB, free: 80.85 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02663/75.2, allocations: 8.118 MB / 12.72 GB, free: 80.85 MB / 1.292 GB Notification: Performance of SimCode: time 1.493e-06/75.2, allocations: 1.094 kB / 12.72 GB, free: 80.85 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.675/77.88, allocations: 0.606 GB / 13.33 GB, free: 172.4 MB / 1.354 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/77.88, allocations: 248.9 kB / 13.33 GB, free: 172.1 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.88/113.8, allocations: 3.938 kB / 13.33 GB, free: 172.1 MB / 1.354 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)