Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2",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.705/1.705, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.001107/0.001107, allocations: 181 kB / 377.1 MB, free: 1.566 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.708/1.708, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.001003/0.001003, allocations: 95.59 kB / 0.7509 GB, free: 63.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003705, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.692/1.975, allocations: 465.2 MB / 1.443 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/1.976, allocations: 102.5 kB / 1.443 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 38.61/40.59, allocations: 8.723 GB / 10.17 GB, free: 81.68 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.917e-06/40.59, allocations: 3.391 kB / 10.17 GB, free: 81.68 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005296/40.59, allocations: 0.5187 MB / 10.17 GB, free: 81.52 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.09292/40.69, allocations: 21.42 MB / 10.19 GB, free: 73.39 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/40.69, allocations: 8.719 kB / 10.19 GB, free: 73.39 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00736/40.69, allocations: 1.094 MB / 10.19 GB, free: 73.3 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/40.71, allocations: 2.31 MB / 10.19 GB, free: 72.27 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08554/40.8, allocations: 23.52 MB / 10.21 GB, free: 69.33 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002041/40.8, allocations: 0.7191 MB / 10.21 GB, free: 69.31 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009628/40.81, allocations: 1.024 MB / 10.22 GB, free: 69.29 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04932/40.86, allocations: 16.87 MB / 10.23 GB, free: 67.3 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006856/40.86, allocations: 16.62 kB / 10.23 GB, free: 67.29 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005532/40.86, allocations: 360.6 kB / 10.23 GB, free: 67.29 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000366/40.86, allocations: 215 kB / 10.23 GB, free: 67.29 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03899/40.9, allocations: 19.86 MB / 10.25 GB, free: 62.16 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.1751/41.08, allocations: 79.62 MB / 10.33 GB, free: 8.148 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 1.282/42.36, allocations: 11.92 MB / 10.34 GB, free: 106.8 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.08858/42.45, allocations: 33.01 MB / 10.37 GB, free: 98.76 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02024/42.47, allocations: 9.312 MB / 10.38 GB, free: 98.59 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0511/42.52, allocations: 14.9 MB / 10.4 GB, free: 98.59 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 7.42e-05/42.52, allocations: 1.188 kB / 10.4 GB, free: 98.59 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 0.9053/43.43, allocations: 200.4 MB / 10.59 GB, free: 88.58 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007906/43.43, allocations: 2.528 MB / 10.6 GB, free: 85.57 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05161/43.48, allocations: 14.91 MB / 10.61 GB, free: 84.76 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.007234/43.49, allocations: 269.3 kB / 10.61 GB, free: 84.73 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0199/43.51, allocations: 7.904 MB / 10.62 GB, free: 83.36 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.00802/43.51, allocations: 2.818 MB / 10.62 GB, free: 81.93 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004686/43.52, allocations: 209.9 kB / 10.62 GB, free: 81.93 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001212/43.52, allocations: 0.751 MB / 10.62 GB, free: 81.6 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.023/43.54, allocations: 10.37 MB / 10.63 GB, free: 81.54 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03222/43.58, allocations: 14.06 MB / 10.65 GB, free: 77.5 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0295/43.6, allocations: 11.67 MB / 10.66 GB, free: 77.18 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000192/43.6, allocations: 15.22 kB / 10.66 GB, free: 77.18 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.5887/44.19, allocations: 130 MB / 10.78 GB, free: 12.63 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.296/45.49, allocations: 36.7 MB / 10.82 GB, free: 112.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006077/45.49, allocations: 116.1 kB / 10.82 GB, free: 112.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.628/46.12, allocations: 147.1 MB / 10.96 GB, free: 112.7 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01646/46.14, allocations: 2.691 MB / 10.97 GB, free: 112.7 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1698/46.3, allocations: 76.38 MB / 11.04 GB, free: 105.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02907/46.33, allocations: 1.554 MB / 11.04 GB, free: 105.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007196/46.34, allocations: 0.9136 MB / 11.04 GB, free: 105.6 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/46.34, allocations: 4.688 kB / 11.04 GB, free: 105.6 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5827/46.92, allocations: 128.7 MB / 11.17 GB, free: 70.09 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008067/46.92, allocations: 111.9 kB / 11.17 GB, free: 69.98 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827/48.75, allocations: 147.4 MB / 11.31 GB, free: 161.2 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01502/48.77, allocations: 2.665 MB / 11.32 GB, free: 161.2 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2064/48.97, allocations: 80.7 MB / 11.39 GB, free: 156.6 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02805/49, allocations: 1.524 MB / 11.4 GB, free: 156.6 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009403/49.01, allocations: 0.8738 MB / 11.4 GB, free: 156.6 MB / 1.307 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02698/49.04, allocations: 4.275 MB / 11.4 GB, free: 156.4 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009551/49.05, allocations: 1.554 MB / 11.4 GB, free: 156.4 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2115/49.26, allocations: 50.84 MB / 11.45 GB, free: 155.8 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002741/49.26, allocations: 90.81 kB / 11.45 GB, free: 155.8 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003292/49.26, allocations: 29.41 kB / 11.45 GB, free: 155.8 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1892/49.45, allocations: 44.8 MB / 11.5 GB, free: 155.1 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.264/49.71, allocations: 69.14 MB / 11.56 GB, free: 150.8 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001641/49.71, allocations: 5.078 kB / 11.56 GB, free: 150.8 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01113/49.72, allocations: 1.834 MB / 11.56 GB, free: 150.8 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1752/49.9, allocations: 42.26 MB / 11.61 GB, free: 142.8 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003736/49.9, allocations: 335.6 kB / 11.61 GB, free: 142.6 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06415/49.97, allocations: 31.6 MB / 11.64 GB, free: 123.5 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/49.97, allocations: 5.906 kB / 11.64 GB, free: 123.5 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2083/50.18, allocations: 59.05 MB / 11.7 GB, free: 91.95 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02064/50.2, allocations: 3.658 MB / 11.7 GB, free: 88.88 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008791/50.21, allocations: 281 kB / 11.7 GB, free: 88.63 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02116/50.23, allocations: 1.338 MB / 11.7 GB, free: 87.8 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004227/50.23, allocations: 0.5899 MB / 11.7 GB, free: 87.44 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002592/50.23, allocations: 356.4 kB / 11.7 GB, free: 87.14 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.0282/50.26, allocations: 11.42 MB / 11.71 GB, free: 77.86 MB / 1.307 GB Notification: Performance of sort global known variables: time 5.41e-07/50.26, allocations: 0 / 11.71 GB, free: 77.86 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.06121/50.32, allocations: 8.81 MB / 11.72 GB, free: 69.35 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 (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 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 1.462/51.79, allocations: 64.56 MB / 11.78 GB, free: 162.2 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.1195/51.9, allocations: 43.6 MB / 11.83 GB, free: 159 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 3.008e-05/51.9, allocations: 10.81 kB / 11.83 GB, free: 159 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.03029/51.94, allocations: 11.49 MB / 11.84 GB, free: 158.7 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05237/51.99, allocations: 7.771 MB / 11.85 GB, free: 158.6 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1629/52.15, allocations: 91.49 MB / 11.93 GB, free: 97.54 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0245/52.18, allocations: 9.41 MB / 11.94 GB, free: 96.41 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.03989/52.21, allocations: 5.52 MB / 11.95 GB, free: 96.21 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02284/52.24, allocations: 8.18 MB / 11.96 GB, free: 96.19 MB / 1.307 GB Notification: Performance of SimCode: time 1.07e-05/52.24, allocations: 0 / 11.96 GB, free: 96.19 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.198/55.44, allocations: 0.6146 GB / 12.57 GB, free: 137.3 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/55.44, allocations: 256.8 kB / 12.57 GB, free: 137 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.55/91.98, allocations: 0 / 12.57 GB, free: 137 MB / 1.323 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)