Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1",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.533/2.533, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.002279/0.002279, allocations: 193 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.12/2.12, allocations: 205.4 MB / 0.6295 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.001174/0.001173, allocations: 94.91 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005212, allocations: 14.22 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2262, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.135/2.362, allocations: 463.9 MB / 1.431 GB, free: 272.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/2.362, allocations: 99.38 kB / 1.431 GB, free: 272.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 49.33/51.69, allocations: 8.722 GB / 10.15 GB, free: 83.6 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.515e-06/51.69, allocations: 1.562 kB / 10.15 GB, free: 83.6 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005449/51.7, allocations: 0.5111 MB / 10.15 GB, free: 83.49 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.1201/51.82, allocations: 21.43 MB / 10.18 GB, free: 75.55 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/51.82, allocations: 9.031 kB / 10.18 GB, free: 75.55 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008042/51.83, allocations: 1.092 MB / 10.18 GB, free: 75.46 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02081/51.85, allocations: 2.308 MB / 10.18 GB, free: 74.43 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1091/51.96, allocations: 23.52 MB / 10.2 GB, free: 71.54 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001413/51.96, allocations: 0.7105 MB / 10.2 GB, free: 71.52 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007314/51.96, allocations: 1.027 MB / 10.2 GB, free: 71.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05828/52.02, allocations: 16.88 MB / 10.22 GB, free: 69.51 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008384/52.02, allocations: 7.781 kB / 10.22 GB, free: 69.5 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005711/52.03, allocations: 356.5 kB / 10.22 GB, free: 69.5 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002856/52.03, allocations: 219.5 kB / 10.22 GB, free: 69.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05338/52.08, allocations: 19.85 MB / 10.24 GB, free: 69.37 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.2048/52.29, allocations: 79.39 MB / 10.32 GB, free: 29.11 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03036/52.32, allocations: 11.94 MB / 10.33 GB, free: 23.63 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.1049/52.42, allocations: 33 MB / 10.36 GB, free: 2.551 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0304/52.45, allocations: 9.496 MB / 10.37 GB, free: 12.13 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08607/52.54, allocations: 14.9 MB / 10.38 GB, free: 1.672 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 4.272e-05/52.54, allocations: 0 / 10.38 GB, free: 1.672 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 2.988/55.53, allocations: 201.1 MB / 10.58 GB, free: 96.12 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008005/55.53, allocations: 2.533 MB / 10.58 GB, free: 93.11 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04786/55.58, allocations: 14.9 MB / 10.6 GB, free: 92.3 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005267/55.58, allocations: 263.9 kB / 10.6 GB, free: 92.27 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01488/55.6, allocations: 7.91 MB / 10.61 GB, free: 90.89 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007315/55.6, allocations: 2.816 MB / 10.61 GB, free: 89.46 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005084/55.61, allocations: 213.5 kB / 10.61 GB, free: 89.46 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001267/55.61, allocations: 0.7502 MB / 10.61 GB, free: 89.13 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03538/55.65, allocations: 10.37 MB / 10.62 GB, free: 89.07 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03944/55.69, allocations: 14.05 MB / 10.63 GB, free: 85.04 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03833/55.72, allocations: 11.67 MB / 10.65 GB, free: 84.71 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001357/55.72, allocations: 14.28 kB / 10.65 GB, free: 84.71 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.281/57.01, allocations: 130 MB / 10.77 GB, free: 48.6 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.006908/57.01, allocations: 36.69 MB / 10.81 GB, free: 11 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006587/57.01, allocations: 123.7 kB / 10.81 GB, free: 10.88 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623/59.64, allocations: 147.9 MB / 10.95 GB, free: 125.1 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02783/59.66, allocations: 2.69 MB / 10.96 GB, free: 125.1 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2982/59.96, allocations: 76.81 MB / 11.03 GB, free: 118.1 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03694/60, allocations: 1.553 MB / 11.03 GB, free: 118.1 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006166/60.01, allocations: 0.9183 MB / 11.03 GB, free: 118.1 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/60.01, allocations: 8.984 kB / 11.03 GB, free: 118 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.367/61.37, allocations: 128.6 MB / 11.16 GB, free: 114.9 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008334/61.37, allocations: 115.2 kB / 11.16 GB, free: 114.9 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4/62.77, allocations: 147.7 MB / 11.3 GB, free: 1.094 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02505/62.8, allocations: 2.67 MB / 11.31 GB, free: 14.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574/64.37, allocations: 81.06 MB / 11.38 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03476/64.41, allocations: 1.525 MB / 11.39 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005471/64.41, allocations: 0.8756 MB / 11.39 GB, free: 153 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01992/64.43, allocations: 4.275 MB / 11.39 GB, free: 152.8 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008813/64.44, allocations: 1.555 MB / 11.39 GB, free: 152.8 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3787/64.82, allocations: 50.84 MB / 11.44 GB, free: 152.2 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002009/64.82, allocations: 93.12 kB / 11.44 GB, free: 152.2 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002047/64.82, allocations: 33.08 kB / 11.44 GB, free: 152.2 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3412/65.16, allocations: 44.8 MB / 11.49 GB, free: 151.5 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4179/65.58, allocations: 69.15 MB / 11.55 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001451/65.58, allocations: 2.25 kB / 11.55 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01916/65.6, allocations: 1.842 MB / 11.56 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3489/65.95, allocations: 42.79 MB / 11.6 GB, free: 147.1 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003569/65.95, allocations: 344.7 kB / 11.6 GB, free: 147.1 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1185/66.07, allocations: 31.84 MB / 11.63 GB, free: 140 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/66.07, allocations: 3 kB / 11.63 GB, free: 140 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4221/66.49, allocations: 59.07 MB / 11.69 GB, free: 112.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01751/66.51, allocations: 3.66 MB / 11.69 GB, free: 110 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009961/66.52, allocations: 279.4 kB / 11.69 GB, free: 109.9 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02882/66.55, allocations: 1.342 MB / 11.69 GB, free: 109.2 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004712/66.55, allocations: 0.5855 MB / 11.69 GB, free: 108.9 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003182/66.56, allocations: 359.7 kB / 11.69 GB, free: 108.7 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03242/66.59, allocations: 11.42 MB / 11.7 GB, free: 102.8 MB / 1.292 GB Notification: Performance of sort global known variables: time 2.054e-06/66.59, allocations: 0 / 11.7 GB, free: 102.8 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.07074/66.66, allocations: 8.808 MB / 11.71 GB, free: 95.14 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.3897/67.05, allocations: 64.61 MB / 11.77 GB, free: 46.78 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 1.354/68.4, allocations: 44.8 MB / 11.82 GB, free: 153.7 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-05/68.4, allocations: 12.78 kB / 11.82 GB, free: 153.7 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.04815/68.45, allocations: 12.02 MB / 11.83 GB, free: 153.3 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06857/68.52, allocations: 7.761 MB / 11.84 GB, free: 153.2 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1541/68.68, allocations: 92.09 MB / 11.93 GB, free: 91.78 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02355/68.7, allocations: 9.409 MB / 11.94 GB, free: 90.65 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04322/68.74, allocations: 5.519 MB / 11.94 GB, free: 90.51 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02489/68.77, allocations: 8.183 MB / 11.95 GB, free: 90.51 MB / 1.292 GB Notification: Performance of SimCode: time 1.553e-06/68.77, allocations: 3.438 kB / 11.95 GB, free: 90.51 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.967/72.73, allocations: 0.6112 GB / 12.56 GB, free: 140 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/72.74, allocations: 253 kB / 12.56 GB, free: 139.7 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.81/110.5, allocations: 0 / 12.56 GB, free: 139.7 MB / 1.307 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)