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.626/1.626, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001099/0.001099, allocations: 187.7 kB / 371.8 MB, free: 10.29 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.634/1.634, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 89.88 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 15.38 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.858, allocations: 466.2 MB / 1.435 GB, free: 272.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/1.858, allocations: 102.8 kB / 1.435 GB, free: 272.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 42.21/44.07, allocations: 10.53 GB / 11.97 GB, free: 1.637 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.925e-06/44.07, allocations: 0 / 11.97 GB, free: 1.637 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002691/44.08, allocations: 355.6 kB / 11.97 GB, free: 1.289 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 2.04/46.12, allocations: 17.44 MB / 11.99 GB, free: 67.98 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 7.941e-05/46.12, allocations: 9.844 kB / 11.99 GB, free: 67.98 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006082/46.12, allocations: 0.786 MB / 11.99 GB, free: 67.9 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/46.14, allocations: 2.072 MB / 11.99 GB, free: 67.59 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.074/46.21, allocations: 18.47 MB / 12.01 GB, free: 66.17 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001244/46.21, allocations: 0.528 MB / 12.01 GB, free: 66.16 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004062/46.22, allocations: 0.7112 MB / 12.01 GB, free: 66.16 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02742/46.25, allocations: 8.504 MB / 12.02 GB, free: 65.09 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003029/46.25, allocations: 20.53 kB / 12.02 GB, free: 65.09 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002438/46.25, allocations: 253.3 kB / 12.02 GB, free: 65.09 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/46.25, allocations: 156.7 kB / 12.02 GB, free: 65.09 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02098/46.27, allocations: 6.96 MB / 12.02 GB, free: 65.04 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.1196/46.39, allocations: 49.85 MB / 12.07 GB, free: 38.64 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/46.4, allocations: 4.905 MB / 12.08 GB, free: 38.49 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 evalFunc (simulation): time 0.04872/46.45, allocations: 13.49 MB / 12.09 GB, free: 51.59 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009367/46.46, allocations: 3.36 MB / 12.09 GB, free: 51.49 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0156/46.48, allocations: 2.453 MB / 12.1 GB, free: 51.3 MB / 1.229 GB Notification: Performance of pre-optimization done (n=327): time 4.456e-05/46.48, allocations: 2.516 kB / 12.1 GB, free: 51.3 MB / 1.229 GB Notification: Performance of matching and sorting (n=516): time 0.174/46.65, allocations: 46.77 MB / 12.14 GB, free: 43.48 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/46.65, allocations: 108 kB / 12.14 GB, free: 43.41 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03537/46.68, allocations: 12.18 MB / 12.15 GB, free: 42.68 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.002671/46.69, allocations: 176 kB / 12.15 GB, free: 42.64 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01111/46.7, allocations: 6.213 MB / 12.16 GB, free: 41.2 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.003703/46.7, allocations: 1.739 MB / 12.16 GB, free: 40.08 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002213/46.7, allocations: 152.6 kB / 12.16 GB, free: 40.08 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0009321/46.71, allocations: 0.5995 MB / 12.16 GB, free: 39.76 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01281/46.72, allocations: 4.592 MB / 12.17 GB, free: 39.75 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01771/46.74, allocations: 7.524 MB / 12.17 GB, free: 36.39 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/46.75, allocations: 5.37 MB / 12.18 GB, free: 36.24 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/46.75, allocations: 18.84 kB / 12.18 GB, free: 36.24 MB / 1.229 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.04748/46.8, allocations: 15.27 MB / 12.19 GB, free: 35.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01946/46.82, allocations: 38.51 MB / 12.23 GB, free: 27.35 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003073/46.82, allocations: 58.78 kB / 12.23 GB, free: 27.35 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008947/46.83, allocations: 3.51 MB / 12.23 GB, free: 27.26 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/46.84, allocations: 1.855 MB / 12.24 GB, free: 27.26 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/46.86, allocations: 12.37 MB / 12.25 GB, free: 20.52 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01965/46.88, allocations: 1.201 MB / 12.25 GB, free: 20.46 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003189/46.88, allocations: 489.6 kB / 12.25 GB, free: 20.46 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/46.88, allocations: 8.719 kB / 12.25 GB, free: 20.46 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03967/46.92, allocations: 14.29 MB / 12.26 GB, free: 20.1 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003409/46.92, allocations: 59.59 kB / 12.26 GB, free: 20.1 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009336/46.93, allocations: 3.798 MB / 12.27 GB, free: 20.01 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/46.94, allocations: 1.849 MB / 12.27 GB, free: 20.01 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03167/46.97, allocations: 17.35 MB / 12.29 GB, free: 30.24 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/46.99, allocations: 1.18 MB / 12.29 GB, free: 30.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/46.99, allocations: 447.1 kB / 12.29 GB, free: 30.2 MB / 1.276 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 721 * 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 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01111/47, allocations: 3.124 MB / 12.29 GB, free: 29.96 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004624/47.01, allocations: 1.201 MB / 12.29 GB, free: 29.3 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03738/47.05, allocations: 13.71 MB / 12.31 GB, free: 28.48 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.985e-05/47.05, allocations: 63.05 kB / 12.31 GB, free: 28.48 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/47.05, allocations: 4.609 kB / 12.31 GB, free: 28.48 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02509/47.07, allocations: 11.08 MB / 12.32 GB, free: 27.77 MB / 1.276 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 postOpt removeSimpleEquations (simulation): time 0.06522/47.14, allocations: 25.5 MB / 12.34 GB, free: 25.57 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.206e-05/47.14, allocations: 7.438 kB / 12.34 GB, free: 25.57 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006736/47.14, allocations: 1.153 MB / 12.34 GB, free: 25.56 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005424/47.15, allocations: 2.394 MB / 12.34 GB, free: 25.41 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001295/47.15, allocations: 167.2 kB / 12.35 GB, free: 25.41 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009538/47.16, allocations: 10.98 MB / 12.36 GB, free: 18.67 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/47.16, allocations: 15.77 kB / 12.36 GB, free: 18.67 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03911/47.2, allocations: 20.54 MB / 12.38 GB, free: 14.39 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01086/47.21, allocations: 2.546 MB / 12.38 GB, free: 13.6 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0052/47.22, allocations: 105.4 kB / 12.38 GB, free: 13.6 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01381/47.23, allocations: 0.9796 MB / 12.38 GB, free: 13.5 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/47.23, allocations: 393.5 kB / 12.38 GB, free: 13.48 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007838/47.23, allocations: 252.4 kB / 12.38 GB, free: 13.48 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.01965/47.25, allocations: 9.289 MB / 12.39 GB, free: 13.12 MB / 1.276 GB Notification: Performance of sort global known variables: time 3.81e-07/47.25, allocations: 6.906 kB / 12.39 GB, free: 13.12 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.04644/47.3, allocations: 6.004 MB / 12.4 GB, free: 13.07 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 414 * 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 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.05207/47.35, allocations: 25.79 MB / 12.42 GB, free: 19.04 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.04519/47.39, allocations: 18.35 MB / 12.44 GB, free: 10.75 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/47.39, allocations: 4.125 kB / 12.44 GB, free: 10.75 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01254/47.41, allocations: 5.184 MB / 12.44 GB, free: 6.438 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03254/47.44, allocations: 5.961 MB / 12.45 GB, free: 2.176 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.039/48.48, allocations: 81.71 MB / 12.53 GB, free: 83.63 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02075/48.5, allocations: 7.059 MB / 12.54 GB, free: 82.67 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03007/48.53, allocations: 3.874 MB / 12.54 GB, free: 82.56 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01714/48.55, allocations: 6.066 MB / 12.55 GB, free: 82.56 MB / 1.292 GB Notification: Performance of SimCode: time 1.267e-05/48.55, allocations: 0.75 kB / 12.55 GB, free: 82.56 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.58/50.13, allocations: 391.9 MB / 12.93 GB, free: 128.7 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/50.13, allocations: 267.2 kB / 12.93 GB, free: 128.3 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.36/77.49, allocations: 3.375 kB / 12.93 GB, free: 128.3 MB / 1.323 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)