Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",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.591/1.591, allocations: 285.4 MB / 298 MB, free: 6.031 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.001161/0.001161, allocations: 184.8 kB / 366.4 MB, free: 2.07 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.5/1.5, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.00101/0.00101, allocations: 86.27 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.511e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6739, allocations: 115.3 MB / 0.971 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.747, allocations: 465.5 MB / 1.426 GB, free: 90.61 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.747, allocations: 97.38 kB / 1.426 GB, free: 90.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 42.95/44.7, allocations: 10.27 GB / 11.69 GB, free: 67.33 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.064e-06/44.7, allocations: 0 / 11.69 GB, free: 67.33 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003279/44.7, allocations: 353.2 kB / 11.69 GB, free: 67.25 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04726/44.75, allocations: 11.14 MB / 11.7 GB, free: 62.17 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.555e-05/44.75, allocations: 7.562 kB / 11.7 GB, free: 62.17 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004777/44.76, allocations: 0.7841 MB / 11.71 GB, free: 62.09 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/44.77, allocations: 2.226 MB / 11.71 GB, free: 61.26 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06132/44.83, allocations: 18.61 MB / 11.73 GB, free: 58.91 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009675/44.83, allocations: 0.534 MB / 11.73 GB, free: 58.89 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004348/44.84, allocations: 0.7077 MB / 11.73 GB, free: 58.89 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03417/44.87, allocations: 13.08 MB / 11.74 GB, free: 54.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003496/44.87, allocations: 9.906 kB / 11.74 GB, free: 54.39 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003458/44.88, allocations: 244.9 kB / 11.74 GB, free: 54.21 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/44.88, allocations: 151.2 kB / 11.74 GB, free: 54.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03039/44.91, allocations: 17.53 MB / 11.76 GB, free: 42.45 MB / 1.198 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 1.109/46.02, allocations: 70.03 MB / 11.83 GB, free: 88.52 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02052/46.04, allocations: 9.451 MB / 11.84 GB, free: 88.44 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01672/46.05, allocations: 8.444 MB / 11.84 GB, free: 88.41 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.06436/46.12, allocations: 29.49 MB / 11.87 GB, free: 80.74 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01563/46.13, allocations: 8.115 MB / 11.88 GB, free: 80.62 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04921/46.18, allocations: 15.23 MB / 11.89 GB, free: 80.62 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 4.443e-05/46.18, allocations: 0 / 11.89 GB, free: 80.62 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.2335/46.42, allocations: 76.13 MB / 11.97 GB, free: 74 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/46.42, allocations: 112.1 kB / 11.97 GB, free: 73.93 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02374/46.44, allocations: 11.85 MB / 11.98 GB, free: 73.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004164/46.44, allocations: 181.7 kB / 11.98 GB, free: 73.17 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.008354/46.45, allocations: 6.016 MB / 11.99 GB, free: 72.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005529/46.46, allocations: 1.959 MB / 11.99 GB, free: 71.2 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001658/46.46, allocations: 145.7 kB / 11.99 GB, free: 71.2 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004544/46.46, allocations: 0.5953 MB / 11.99 GB, free: 70.88 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01169/46.47, allocations: 7.804 MB / 12 GB, free: 70.86 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01652/46.49, allocations: 10.38 MB / 12.01 GB, free: 67.99 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/46.51, allocations: 8.697 MB / 12.02 GB, free: 67.82 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/46.51, allocations: 16.06 kB / 12.02 GB, free: 67.82 MB / 1.214 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.06018/46.57, allocations: 26.13 MB / 12.04 GB, free: 66.8 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.006986/46.57, allocations: 29.65 MB / 12.07 GB, free: 36.12 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002828/46.57, allocations: 45.66 kB / 12.07 GB, free: 36.12 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.737/47.31, allocations: 170.4 MB / 12.24 GB, free: 5.387 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/47.32, allocations: 1.762 MB / 12.24 GB, free: 4.141 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05117/47.37, allocations: 26.61 MB / 12.26 GB, free: 15.54 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02201/47.4, allocations: 1.279 MB / 12.27 GB, free: 14.42 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004893/47.4, allocations: 0.7965 MB / 12.27 GB, free: 13.68 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/47.4, allocations: 5.688 kB / 12.27 GB, free: 13.68 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.087/48.49, allocations: 25.16 MB / 12.29 GB, free: 118.4 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002586/48.49, allocations: 47.67 kB / 12.29 GB, free: 118.4 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7431/49.23, allocations: 170.6 MB / 12.46 GB, free: 118.1 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009109/49.24, allocations: 1.757 MB / 12.46 GB, free: 118.1 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0659/49.31, allocations: 30.91 MB / 12.49 GB, free: 114.2 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0218/49.33, allocations: 1.256 MB / 12.49 GB, free: 114.2 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004856/49.33, allocations: 0.7577 MB / 12.49 GB, free: 114.2 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (662): * Single equations (assignments): 648 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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: 0 * Non-linear torn systems: 3 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.007432/49.34, allocations: 0.5175 MB / 12.49 GB, free: 114.1 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006796/49.35, allocations: 1.203 MB / 12.49 GB, free: 114.1 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06139/49.41, allocations: 23.33 MB / 12.52 GB, free: 113.2 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001506/49.41, allocations: 70.94 kB / 12.52 GB, free: 113.2 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.341e-05/49.41, allocations: 0 / 12.52 GB, free: 113.2 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04003/49.45, allocations: 17.81 MB / 12.53 GB, free: 112.6 MB / 1.245 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.1664/49.61, allocations: 54.12 MB / 12.59 GB, free: 106 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001218/49.61, allocations: 9.156 kB / 12.59 GB, free: 106 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007309/49.62, allocations: 1.26 MB / 12.59 GB, free: 106 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.211/49.83, allocations: 48.87 MB / 12.64 GB, free: 80.93 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002196/49.84, allocations: 201.1 kB / 12.64 GB, free: 80.86 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02564/49.86, allocations: 14.72 MB / 12.65 GB, free: 70.43 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.414e-05/49.86, allocations: 12.12 kB / 12.65 GB, free: 70.42 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07095/49.93, allocations: 32.81 MB / 12.68 GB, free: 52.14 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01208/49.94, allocations: 2.93 MB / 12.68 GB, free: 49.88 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006349/49.95, allocations: 134.2 kB / 12.68 GB, free: 49.84 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01699/49.97, allocations: 1.001 MB / 12.69 GB, free: 48.95 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002532/49.97, allocations: 463.5 kB / 12.69 GB, free: 48.55 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002172/49.97, allocations: 286.2 kB / 12.69 GB, free: 48.32 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02177/49.99, allocations: 9.03 MB / 12.7 GB, free: 42.13 MB / 1.245 GB Notification: Performance of sort global known variables: time 7.92e-07/49.99, allocations: 0 / 12.7 GB, free: 42.13 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.0483/50.04, allocations: 6.57 MB / 12.7 GB, free: 36.33 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (491): * Single equations (assignments): 469 * 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: 0 * Non-linear torn systems: 3 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.07864/50.12, allocations: 38.11 MB / 12.74 GB, free: 9.902 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 1.161/51.28, allocations: 33.52 MB / 12.77 GB, free: 120.1 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/51.28, allocations: 0 / 12.77 GB, free: 120.1 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.02051/51.3, allocations: 9.217 MB / 12.78 GB, free: 119.9 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04046/51.34, allocations: 6.285 MB / 12.79 GB, free: 119.9 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07126/51.42, allocations: 24.54 MB / 12.81 GB, free: 115.4 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/51.43, allocations: 7.178 MB / 12.82 GB, free: 114.4 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03123/51.46, allocations: 6.364 MB / 12.82 GB, free: 114.3 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01096/51.47, allocations: 5.849 MB / 12.83 GB, free: 114.3 MB / 1.245 GB Notification: Performance of SimCode: time 1.573e-06/51.47, allocations: 0 / 12.83 GB, free: 114.3 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.809/54.28, allocations: 0.543 GB / 13.37 GB, free: 159.7 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/54.28, allocations: 227.2 kB / 13.37 GB, free: 159.4 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.95/84.23, allocations: 4 kB / 13.37 GB, free: 159.4 MB / 1.292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)