Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001248/0.001248, allocations: 193 kB / 377.1 MB, free: 1.512 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.769/1.769, allocations: 205.4 MB / 0.6366 GB, free: 8.523 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.001122/0.001122, allocations: 90.84 kB / 0.7509 GB, free: 63.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003893, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.79/2.067, allocations: 465.3 MB / 1.443 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004624/2.068, allocations: 100.9 kB / 1.443 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 42.14/44.21, allocations: 9.512 GB / 10.95 GB, free: 79.34 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.775e-06/44.21, allocations: 0 / 10.95 GB, free: 79.34 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.005807/44.21, allocations: 0.509 MB / 10.96 GB, free: 79.23 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.1016/44.31, allocations: 21.42 MB / 10.98 GB, free: 71.32 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/44.31, allocations: 9.281 kB / 10.98 GB, free: 71.32 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008432/44.32, allocations: 1.09 MB / 10.98 GB, free: 71.23 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/44.34, allocations: 2.305 MB / 10.98 GB, free: 70.2 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08316/44.43, allocations: 23.52 MB / 11 GB, free: 67.34 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/44.43, allocations: 0.7106 MB / 11 GB, free: 67.32 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005868/44.43, allocations: 1.015 MB / 11 GB, free: 67.3 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04615/44.48, allocations: 16.84 MB / 11.02 GB, free: 65.31 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005358/44.48, allocations: 19.2 kB / 11.02 GB, free: 65.3 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0048/44.48, allocations: 364.5 kB / 11.02 GB, free: 65.3 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/44.48, allocations: 214.5 kB / 11.02 GB, free: 65.3 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03927/44.52, allocations: 19.81 MB / 11.04 GB, free: 65.17 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.1681/44.69, allocations: 79.73 MB / 11.12 GB, free: 27.11 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/44.71, allocations: 11.7 MB / 11.13 GB, free: 21.74 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.08558/44.8, allocations: 32.67 MB / 11.16 GB, free: 3.336 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03465/44.83, allocations: 10.32 MB / 11.17 GB, free: 15.31 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04961/44.88, allocations: 14.89 MB / 11.19 GB, free: 4.715 MB / 1.245 GB Notification: Performance of pre-optimization done (n=561): time 5.656e-05/44.88, allocations: 0 / 11.19 GB, free: 4.715 MB / 1.245 GB Notification: Performance of matching and sorting (n=775): time 2.178/47.06, allocations: 202.3 MB / 11.38 GB, free: 93.29 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007355/47.06, allocations: 2.533 MB / 11.39 GB, free: 90.28 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05097/47.11, allocations: 14.91 MB / 11.4 GB, free: 89.47 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.006576/47.12, allocations: 259.2 kB / 11.4 GB, free: 89.44 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01454/47.13, allocations: 7.886 MB / 11.41 GB, free: 88.07 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006373/47.14, allocations: 2.702 MB / 11.41 GB, free: 86.7 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003862/47.14, allocations: 200 kB / 11.41 GB, free: 86.7 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001096/47.14, allocations: 0.7445 MB / 11.41 GB, free: 86.37 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02156/47.17, allocations: 10.24 MB / 11.42 GB, free: 86.32 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02882/47.19, allocations: 13.91 MB / 11.44 GB, free: 82.28 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02773/47.22, allocations: 11.53 MB / 11.45 GB, free: 81.95 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002233/47.22, allocations: 15.25 kB / 11.45 GB, free: 81.95 MB / 1.245 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.5904/47.81, allocations: 129.4 MB / 11.57 GB, free: 51.9 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.0084/47.82, allocations: 38.27 MB / 11.61 GB, free: 12.67 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006292/47.82, allocations: 123.3 kB / 11.61 GB, free: 12.55 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866/49.69, allocations: 146.4 MB / 11.75 GB, free: 121.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01628/49.7, allocations: 2.685 MB / 11.76 GB, free: 121.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1714/49.88, allocations: 74.39 MB / 11.83 GB, free: 115.3 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02883/49.9, allocations: 1.555 MB / 11.83 GB, free: 115.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006303/49.91, allocations: 0.9072 MB / 11.83 GB, free: 115.3 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/49.91, allocations: 6.719 kB / 11.83 GB, free: 115.3 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5848/50.5, allocations: 128.1 MB / 11.96 GB, free: 113.1 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007134/50.5, allocations: 125.1 kB / 11.96 GB, free: 113.1 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5908/51.09, allocations: 146.7 MB / 12.1 GB, free: 11.4 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/51.1, allocations: 2.671 MB / 12.1 GB, free: 8.906 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49/52.59, allocations: 79.19 MB / 12.18 GB, free: 149 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02816/52.62, allocations: 1.529 MB / 12.18 GB, free: 149 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006486/52.63, allocations: 0.8655 MB / 12.18 GB, free: 149 MB / 1.307 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.02246/52.65, allocations: 4.259 MB / 12.19 GB, free: 148.9 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01104/52.66, allocations: 1.547 MB / 12.19 GB, free: 148.9 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2318/52.89, allocations: 50.02 MB / 12.24 GB, free: 148.2 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002547/52.89, allocations: 90.03 kB / 12.24 GB, free: 148.2 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003495/52.89, allocations: 32.45 kB / 12.24 GB, free: 148.2 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1896/53.08, allocations: 44.09 MB / 12.28 GB, free: 147.5 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2609/53.34, allocations: 67.19 MB / 12.35 GB, free: 143.5 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001456/53.34, allocations: 3.125 kB / 12.35 GB, free: 143.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01298/53.36, allocations: 1.794 MB / 12.35 GB, free: 143.5 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1761/53.53, allocations: 41.78 MB / 12.39 GB, free: 143.4 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00358/53.54, allocations: 333.9 kB / 12.39 GB, free: 143.4 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06634/53.6, allocations: 29.63 MB / 12.42 GB, free: 137.5 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/53.6, allocations: 1.188 kB / 12.42 GB, free: 137.5 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2035/53.81, allocations: 58.08 MB / 12.47 GB, free: 123.9 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01993/53.83, allocations: 3.597 MB / 12.48 GB, free: 121.7 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009489/53.84, allocations: 266.1 kB / 12.48 GB, free: 121.6 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02024/53.86, allocations: 1.276 MB / 12.48 GB, free: 121 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003886/53.86, allocations: 0.5695 MB / 12.48 GB, free: 120.7 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001783/53.86, allocations: 340.2 kB / 12.48 GB, free: 120.5 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.02757/53.89, allocations: 11.42 MB / 12.49 GB, free: 114.6 MB / 1.307 GB Notification: Performance of sort global known variables: time 2.7e-07/53.89, allocations: 1.031 kB / 12.49 GB, free: 114.6 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.07008/53.96, allocations: 8.782 MB / 12.5 GB, free: 106.9 MB / 1.307 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.2156/54.18, allocations: 63.85 MB / 12.56 GB, free: 67.93 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.1054/54.28, allocations: 42.86 MB / 12.6 GB, free: 32.29 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.802e-05/54.28, allocations: 14.16 kB / 12.6 GB, free: 32.28 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 1.145/55.43, allocations: 12.45 MB / 12.62 GB, free: 150.8 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0471/55.47, allocations: 7.618 MB / 12.62 GB, free: 150.7 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1396/55.61, allocations: 92.56 MB / 12.71 GB, free: 88.3 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02124/55.63, allocations: 9.355 MB / 12.72 GB, free: 87.17 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0336/55.67, allocations: 5.531 MB / 12.73 GB, free: 87.03 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02245/55.69, allocations: 8.118 MB / 12.74 GB, free: 87.03 MB / 1.307 GB Notification: Performance of SimCode: time 1.583e-06/55.69, allocations: 0.8438 kB / 12.74 GB, free: 87.03 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.12/57.81, allocations: 0.6061 GB / 13.34 GB, free: 168.6 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/57.81, allocations: 252.2 kB / 13.34 GB, free: 168.3 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.98/93.79, allocations: 0 / 13.34 GB, free: 168.3 MB / 1.339 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)