Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.58/1.58, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001033/0.001033, allocations: 176.9 kB / 361.4 MB, free: 6.82 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.645/1.645, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0009462/0.0009462, allocations: 94.89 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.376e-05/2.367e-05, allocations: 8 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7225, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.91, allocations: 464.2 MB / 1.418 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.91, allocations: 95.33 kB / 1.418 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 45.18/47.09, allocations: 10.28 GB / 11.7 GB, free: 50.21 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.495e-06/47.09, allocations: 0 / 11.7 GB, free: 50.21 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003859/47.09, allocations: 386.4 kB / 11.7 GB, free: 50.13 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.0524/47.15, allocations: 12.11 MB / 11.71 GB, free: 43.72 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/47.15, allocations: 14.56 kB / 11.71 GB, free: 43.72 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/47.16, allocations: 2.185 MB / 11.71 GB, free: 42.82 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06175/47.22, allocations: 20.06 MB / 11.73 GB, free: 30.11 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005941/47.22, allocations: 224 kB / 11.73 GB, free: 29.89 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004693/47.23, allocations: 496.4 kB / 11.73 GB, free: 29.41 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03042/47.26, allocations: 18.34 MB / 11.75 GB, free: 11.84 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.125/48.38, allocations: 12.97 MB / 11.76 GB, free: 61.72 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004201/48.38, allocations: 12.5 kB / 11.76 GB, free: 61.72 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003221/48.39, allocations: 10.91 kB / 11.76 GB, free: 61.72 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003062/48.39, allocations: 190 kB / 11.76 GB, free: 61.72 MB / 1.214 GB Warning: The model contains alias variables with conflicting start and/or 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.1313/48.52, allocations: 73.11 MB / 11.84 GB, free: 28.98 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/48.54, allocations: 10.29 MB / 11.85 GB, free: 28.83 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0155/48.55, allocations: 8.811 MB / 11.85 GB, free: 28.76 MB / 1.214 GB Warning: The model contains alias variables with conflicting start and/or 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.07976/48.63, allocations: 30.16 MB / 11.88 GB, free: 36.07 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01681/48.65, allocations: 7.967 MB / 11.89 GB, free: 35.96 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04834/48.7, allocations: 14.85 MB / 11.91 GB, free: 35.84 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 5.159e-05/48.7, allocations: 0.8125 kB / 11.91 GB, free: 35.84 MB / 1.229 GB Notification: Performance of matching and sorting (n=429): time 0.1078/48.81, allocations: 36.99 MB / 11.94 GB, free: 32.96 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/48.81, allocations: 98.56 kB / 11.94 GB, free: 32.89 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03128/48.84, allocations: 11.84 MB / 11.95 GB, free: 32.22 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.003709/48.84, allocations: 38.14 kB / 11.95 GB, free: 32.19 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01023/48.85, allocations: 6.609 MB / 11.96 GB, free: 31.05 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.00429/48.85, allocations: 1.41 MB / 11.96 GB, free: 30.31 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003405/48.86, allocations: 0 / 11.96 GB, free: 30.31 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0007988/48.86, allocations: 0.561 MB / 11.96 GB, free: 29.99 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0121/48.87, allocations: 6.942 MB / 11.97 GB, free: 29.97 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01423/48.89, allocations: 9.554 MB / 11.98 GB, free: 26.88 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/48.9, allocations: 8.068 MB / 11.99 GB, free: 26.76 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/48.9, allocations: 15.06 kB / 11.99 GB, free: 26.76 MB / 1.229 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.05801/48.96, allocations: 22.81 MB / 12.01 GB, free: 25.82 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01535/48.97, allocations: 34.64 MB / 12.04 GB, free: 21.77 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002773/48.98, allocations: 52.22 kB / 12.04 GB, free: 21.77 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6481/49.62, allocations: 143.5 MB / 12.18 GB, free: 20.69 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009605/49.63, allocations: 1.485 MB / 12.18 GB, free: 20.68 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04341/49.68, allocations: 23.29 MB / 12.21 GB, free: 11.9 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02151/49.7, allocations: 0.8822 MB / 12.21 GB, free: 11.32 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004405/49.7, allocations: 0.7405 MB / 12.21 GB, free: 10.89 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/49.7, allocations: 7.953 kB / 12.21 GB, free: 10.88 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.643/51.35, allocations: 104.1 MB / 12.31 GB, free: 105.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002941/51.35, allocations: 49.38 kB / 12.31 GB, free: 105.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6406/51.99, allocations: 143.6 MB / 12.45 GB, free: 103.3 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007406/51.99, allocations: 1.48 MB / 12.45 GB, free: 103.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05494/52.05, allocations: 25.92 MB / 12.48 GB, free: 100.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01956/52.07, allocations: 0.8512 MB / 12.48 GB, free: 100.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003713/52.07, allocations: 0.7031 MB / 12.48 GB, free: 100.6 MB / 1.26 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 649 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005362/52.08, allocations: 300.2 kB / 12.48 GB, free: 100.5 MB / 1.26 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04323/52.12, allocations: 18.84 MB / 12.5 GB, free: 100.3 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006066/52.13, allocations: 1.22 MB / 12.5 GB, free: 100.1 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04702/52.17, allocations: 17.05 MB / 12.52 GB, free: 99.36 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/52.17, allocations: 55.3 kB / 12.52 GB, free: 99.36 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/52.17, allocations: 0 / 12.52 GB, free: 99.36 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02507/52.2, allocations: 12.2 MB / 12.53 GB, free: 98.92 MB / 1.26 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.06736/52.27, allocations: 33.48 MB / 12.56 GB, free: 92.9 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-05/52.27, allocations: 4.125 kB / 12.56 GB, free: 92.89 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004627/52.27, allocations: 0.8035 MB / 12.56 GB, free: 92.89 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1849/52.46, allocations: 40.71 MB / 12.6 GB, free: 68.72 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001615/52.46, allocations: 81.55 kB / 12.6 GB, free: 68.66 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/52.48, allocations: 11.92 MB / 12.61 GB, free: 59.98 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/52.48, allocations: 0.75 kB / 12.61 GB, free: 59.98 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08623/52.56, allocations: 28.54 MB / 12.64 GB, free: 40.72 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01201/52.58, allocations: 2.705 MB / 12.64 GB, free: 38.64 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00657/52.58, allocations: 9.984 kB / 12.64 GB, free: 38.64 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01612/52.6, allocations: 0.6649 MB / 12.64 GB, free: 38 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002283/52.6, allocations: 315.5 kB / 12.64 GB, free: 37.72 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001968/52.6, allocations: 228.3 kB / 12.64 GB, free: 37.54 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.0223/52.62, allocations: 8.864 MB / 12.65 GB, free: 31.71 MB / 1.26 GB Notification: Performance of sort global known variables: time 8.22e-07/52.62, allocations: 0 / 12.65 GB, free: 31.71 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.05576/52.68, allocations: 6.289 MB / 12.66 GB, free: 25.91 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (373): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.0917/52.77, allocations: 33.6 MB / 12.69 GB, free: 1.836 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 1.278/54.05, allocations: 28.11 MB / 12.72 GB, free: 122.2 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.258e-05/54.05, allocations: 3 kB / 12.72 GB, free: 122.2 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01851/54.07, allocations: 6.976 MB / 12.73 GB, free: 122.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04639/54.11, allocations: 6.638 MB / 12.73 GB, free: 122 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09974/54.21, allocations: 23.06 MB / 12.75 GB, free: 117.6 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02254/54.24, allocations: 7.286 MB / 12.76 GB, free: 116.6 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.04451/54.28, allocations: 6.126 MB / 12.77 GB, free: 116.5 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01648/54.3, allocations: 6.075 MB / 12.77 GB, free: 116.5 MB / 1.276 GB Notification: Performance of SimCode: time 2.255e-06/54.3, allocations: 0 / 12.77 GB, free: 116.5 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.234/57.53, allocations: 495.5 MB / 13.26 GB, free: 142 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/57.53, allocations: 191.3 kB / 13.26 GB, free: 141.8 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.7/87.23, allocations: 0 / 13.26 GB, free: 141.8 MB / 1.323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)