Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",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.614/1.614, allocations: 285.4 MB / 298 MB, free: 5.98 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.0009612/0.0009612, allocations: 180.8 kB / 366.4 MB, free: 2.09 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.563/1.563, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.00082/0.0008199, allocations: 95.14 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.135e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.7017, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.806, allocations: 466.1 MB / 1.426 GB, free: 90.09 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/1.806, allocations: 96.39 kB / 1.426 GB, free: 90.04 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 44.67/46.47, allocations: 10.5 GB / 11.93 GB, free: 87.54 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.933e-06/46.47, allocations: 3 kB / 11.93 GB, free: 87.54 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003218/46.48, allocations: 347.6 kB / 11.93 GB, free: 87.48 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04303/46.52, allocations: 11.06 MB / 11.94 GB, free: 82.56 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/46.52, allocations: 11.94 kB / 11.94 GB, free: 82.56 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005312/46.53, allocations: 0.7773 MB / 11.94 GB, free: 82.49 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/46.54, allocations: 2.083 MB / 11.94 GB, free: 81.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05782/46.6, allocations: 18.25 MB / 11.96 GB, free: 79.6 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009957/46.6, allocations: 0.5281 MB / 11.96 GB, free: 79.59 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003644/46.6, allocations: 0.7178 MB / 11.96 GB, free: 79.59 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02577/46.63, allocations: 8.291 MB / 11.97 GB, free: 78.52 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004374/46.63, allocations: 16.22 kB / 11.97 GB, free: 78.52 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002644/46.63, allocations: 251.3 kB / 11.97 GB, free: 78.52 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002072/46.63, allocations: 158.8 kB / 11.97 GB, free: 78.52 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/46.65, allocations: 6.626 MB / 11.98 GB, free: 78.46 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.09345/46.74, allocations: 49.84 MB / 12.03 GB, free: 51.68 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007879/46.75, allocations: 4.646 MB / 12.03 GB, free: 51.52 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005334/46.76, allocations: 3.613 MB / 12.03 GB, free: 51.46 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.03678/46.79, allocations: 13.69 MB / 12.05 GB, free: 48.36 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004553/46.8, allocations: 3.24 MB / 12.05 GB, free: 48.25 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01173/46.81, allocations: 2.398 MB / 12.05 GB, free: 47.93 MB / 1.214 GB Notification: Performance of pre-optimization done (n=326): time 2.778e-05/46.81, allocations: 0 / 12.05 GB, free: 47.93 MB / 1.214 GB Notification: Performance of matching and sorting (n=514): time 0.1065/46.92, allocations: 36.89 MB / 12.09 GB, free: 40.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/46.92, allocations: 113.1 kB / 12.09 GB, free: 40.13 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02451/46.94, allocations: 12.04 MB / 12.1 GB, free: 39.34 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001821/46.94, allocations: 176.3 kB / 12.1 GB, free: 39.3 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.006132/46.95, allocations: 6.225 MB / 12.11 GB, free: 37.86 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/46.95, allocations: 1.728 MB / 12.11 GB, free: 36.74 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006939/46.95, allocations: 149.2 kB / 12.11 GB, free: 36.74 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003844/46.95, allocations: 0.5923 MB / 12.11 GB, free: 36.43 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005748/46.96, allocations: 3.926 MB / 12.11 GB, free: 36.41 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007914/46.97, allocations: 6.84 MB / 12.12 GB, free: 32.98 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007197/46.97, allocations: 4.727 MB / 12.12 GB, free: 32.7 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.825e-05/46.97, allocations: 21.09 kB / 12.12 GB, free: 32.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.0236/47, allocations: 13.92 MB / 12.14 GB, free: 31.12 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.009289/47.01, allocations: 38.51 MB / 12.18 GB, free: 7.031 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002069/47.01, allocations: 64.83 kB / 12.18 GB, free: 7.031 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007467/47.02, allocations: 3.395 MB / 12.18 GB, free: 6.848 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/47.03, allocations: 1.865 MB / 12.18 GB, free: 6.738 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/47.04, allocations: 12.31 MB / 12.19 GB, free: 15.77 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01498/47.05, allocations: 1.206 MB / 12.19 GB, free: 15.53 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/47.06, allocations: 494.1 kB / 12.19 GB, free: 15.46 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/47.06, allocations: 7.922 kB / 12.19 GB, free: 15.46 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01955/47.08, allocations: 12.9 MB / 12.21 GB, free: 10.98 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/47.08, allocations: 61.72 kB / 12.21 GB, free: 10.98 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007296/47.08, allocations: 3.656 MB / 12.21 GB, free: 10.3 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008718/47.09, allocations: 1.858 MB / 12.21 GB, free: 9.207 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013/48.1, allocations: 16.62 MB / 12.23 GB, free: 118.4 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01658/48.12, allocations: 1.179 MB / 12.23 GB, free: 118.4 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002697/48.12, allocations: 449.8 kB / 12.23 GB, free: 118.4 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.00401/48.13, allocations: 0.5357 MB / 12.23 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005571/48.13, allocations: 1.199 MB / 12.23 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02667/48.16, allocations: 12.34 MB / 12.24 GB, free: 117.8 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.007e-05/48.16, allocations: 66.55 kB / 12.24 GB, free: 117.8 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/48.16, allocations: 0 / 12.24 GB, free: 117.8 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01588/48.18, allocations: 9.75 MB / 12.25 GB, free: 117.2 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.05495/48.23, allocations: 24.37 MB / 12.28 GB, free: 115.4 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/48.23, allocations: 7.719 kB / 12.28 GB, free: 115.4 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006445/48.24, allocations: 1.161 MB / 12.28 GB, free: 115.4 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005851/48.24, allocations: 2.398 MB / 12.28 GB, free: 115.3 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001348/48.24, allocations: 167 kB / 12.28 GB, free: 115.3 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009578/48.25, allocations: 10.99 MB / 12.29 GB, free: 108.7 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/48.25, allocations: 12.56 kB / 12.29 GB, free: 108.7 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03191/48.29, allocations: 18.99 MB / 12.31 GB, free: 105.1 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01208/48.3, allocations: 2.543 MB / 12.31 GB, free: 104.3 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00635/48.3, allocations: 112.1 kB / 12.31 GB, free: 104.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01366/48.32, allocations: 0.9814 MB / 12.31 GB, free: 104.3 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001689/48.32, allocations: 401.5 kB / 12.31 GB, free: 104.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001049/48.32, allocations: 249.6 kB / 12.31 GB, free: 104.3 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.0208/48.34, allocations: 9.157 MB / 12.32 GB, free: 103.9 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.483e-06/48.34, allocations: 0 / 12.32 GB, free: 103.9 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04464/48.39, allocations: 5.997 MB / 12.33 GB, free: 103.9 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 (441): * Single equations (assignments): 416 * 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: 6 * 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: 6 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.04581/48.43, allocations: 24.11 MB / 12.35 GB, free: 97.44 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.03407/48.47, allocations: 16.8 MB / 12.37 GB, free: 96.81 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/48.47, allocations: 2.312 kB / 12.37 GB, free: 96.81 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.009483/48.48, allocations: 4.653 MB / 12.37 GB, free: 96.73 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03134/48.51, allocations: 5.978 MB / 12.38 GB, free: 96.62 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0587/48.57, allocations: 22.59 MB / 12.4 GB, free: 92.17 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01131/48.58, allocations: 7.083 MB / 12.41 GB, free: 91.18 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03234/48.61, allocations: 6.486 MB / 12.41 GB, free: 91.03 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01065/48.62, allocations: 5.766 MB / 12.42 GB, free: 91.02 MB / 1.245 GB Notification: Performance of SimCode: time 8.31e-07/48.62, allocations: 2.094 kB / 12.42 GB, free: 91.02 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.58/51.2, allocations: 419.8 MB / 12.83 GB, free: 148.9 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/51.2, allocations: 235.7 kB / 12.83 GB, free: 148.6 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.21/75.41, allocations: 0 / 12.83 GB, free: 148.6 MB / 1.276 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)