Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.651/2.651, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001631/0.00163, allocations: 195.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.00115/0.00115, allocations: 82.11 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005003, allocations: 10.88 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2173, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.077/2.294, allocations: 465.4 MB / 1.433 GB, free: 272.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003989/2.294, allocations: 105.1 kB / 1.433 GB, free: 272.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 58.39/60.68, allocations: 10.3 GB / 11.73 GB, free: 96.54 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.404e-06/60.68, allocations: 0 / 11.73 GB, free: 96.54 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003459/60.69, allocations: 346.1 kB / 11.73 GB, free: 96.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.09746/60.79, allocations: 17.54 MB / 11.75 GB, free: 90.12 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/60.79, allocations: 9.125 kB / 11.75 GB, free: 90.12 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005881/60.79, allocations: 0.7876 MB / 11.75 GB, free: 90.04 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02607/60.82, allocations: 2.223 MB / 11.75 GB, free: 89.26 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1167/60.93, allocations: 18.81 MB / 11.77 GB, free: 87.15 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/60.94, allocations: 0.5321 MB / 11.77 GB, free: 87.14 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004897/60.94, allocations: 0.7133 MB / 11.77 GB, free: 87.14 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04467/60.99, allocations: 13.34 MB / 11.78 GB, free: 86.52 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003362/60.99, allocations: 9.781 kB / 11.78 GB, free: 86.52 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003426/60.99, allocations: 245.3 kB / 11.78 GB, free: 86.52 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/60.99, allocations: 149.8 kB / 11.78 GB, free: 86.52 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04801/61.04, allocations: 17.98 MB / 11.8 GB, free: 86.47 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.1721/61.21, allocations: 70.08 MB / 11.87 GB, free: 54.45 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02466/61.23, allocations: 9.772 MB / 11.88 GB, free: 54.25 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.08468/61.32, allocations: 29.24 MB / 11.91 GB, free: 46.17 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02191/61.34, allocations: 8.304 MB / 11.92 GB, free: 44.67 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07917/61.42, allocations: 15.07 MB / 11.93 GB, free: 43.25 MB / 1.214 GB Notification: Performance of pre-optimization done (n=394): time 4.316e-05/61.42, allocations: 0.9375 kB / 11.93 GB, free: 43.25 MB / 1.214 GB Notification: Performance of matching and sorting (n=583): time 2.037/63.46, allocations: 116.3 MB / 12.04 GB, free: 101.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/63.46, allocations: 116.3 kB / 12.04 GB, free: 101.2 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03717/63.49, allocations: 11.98 MB / 12.06 GB, free: 100.5 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004201/63.5, allocations: 185 kB / 12.06 GB, free: 100.5 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01133/63.51, allocations: 6.015 MB / 12.06 GB, free: 99.58 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005603/63.52, allocations: 1.957 MB / 12.06 GB, free: 98.59 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004209/63.52, allocations: 144.4 kB / 12.06 GB, free: 98.59 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007449/63.52, allocations: 0.6031 MB / 12.07 GB, free: 98.27 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0286/63.55, allocations: 8.524 MB / 12.07 GB, free: 98.25 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03167/63.58, allocations: 11.11 MB / 12.08 GB, free: 95.38 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03122/63.61, allocations: 9.396 MB / 12.09 GB, free: 95.24 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.512e-05/63.61, allocations: 17.44 kB / 12.09 GB, free: 95.24 MB / 1.214 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.1047/63.72, allocations: 27.61 MB / 12.12 GB, free: 94.21 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.006664/63.72, allocations: 29.64 MB / 12.15 GB, free: 63.54 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002487/63.72, allocations: 47.5 kB / 12.15 GB, free: 63.54 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578/65.3, allocations: 170.6 MB / 12.32 GB, free: 61.89 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01952/65.32, allocations: 1.757 MB / 12.32 GB, free: 61.88 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08375/65.41, allocations: 26.74 MB / 12.34 GB, free: 56.57 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03209/65.44, allocations: 1.282 MB / 12.35 GB, free: 56.47 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005009/65.44, allocations: 0.8034 MB / 12.35 GB, free: 56.46 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/65.44, allocations: 4.562 kB / 12.35 GB, free: 56.46 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09745/65.54, allocations: 26.63 MB / 12.37 GB, free: 47.74 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002347/65.54, allocations: 50.7 kB / 12.37 GB, free: 47.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807/68.35, allocations: 170.9 MB / 12.54 GB, free: 144.5 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02345/68.37, allocations: 1.739 MB / 12.54 GB, free: 144.5 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1072/68.48, allocations: 31.78 MB / 12.57 GB, free: 140.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03132/68.51, allocations: 1.249 MB / 12.57 GB, free: 140.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004964/68.52, allocations: 0.7594 MB / 12.57 GB, free: 140.6 MB / 1.26 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 644 * 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 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01619/68.53, allocations: 3.104 MB / 12.58 GB, free: 140.4 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008215/68.54, allocations: 1.2 MB / 12.58 GB, free: 140.3 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1136/68.65, allocations: 24.87 MB / 12.6 GB, free: 139.8 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001669/68.65, allocations: 71.62 kB / 12.6 GB, free: 139.8 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/68.65, allocations: 0.5625 kB / 12.6 GB, free: 139.8 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07972/68.73, allocations: 19.33 MB / 12.62 GB, free: 139.2 MB / 1.26 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.1683/68.9, allocations: 45.85 MB / 12.67 GB, free: 132.7 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001337/68.9, allocations: 10.06 kB / 12.67 GB, free: 132.7 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01272/68.92, allocations: 1.246 MB / 12.67 GB, free: 132.7 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3962/69.31, allocations: 48.97 MB / 12.71 GB, free: 132.6 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002439/69.31, allocations: 200.9 kB / 12.71 GB, free: 132.6 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04406/69.36, allocations: 14.87 MB / 12.73 GB, free: 127.4 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-05/69.36, allocations: 11.84 kB / 12.73 GB, free: 127.4 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09994/69.46, allocations: 31.57 MB / 12.76 GB, free: 123.2 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01416/69.47, allocations: 2.933 MB / 12.76 GB, free: 122.4 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00681/69.48, allocations: 126.4 kB / 12.76 GB, free: 122.4 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02311/69.5, allocations: 0.997 MB / 12.76 GB, free: 122.3 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003084/69.51, allocations: 467 kB / 12.76 GB, free: 122.3 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002502/69.51, allocations: 288 kB / 12.76 GB, free: 122.3 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02626/69.53, allocations: 9.167 MB / 12.77 GB, free: 121.9 MB / 1.26 GB Notification: Performance of sort global known variables: time 6.51e-07/69.53, allocations: 0 / 12.77 GB, free: 121.9 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.0667/69.6, allocations: 6.578 MB / 12.78 GB, free: 121.9 MB / 1.26 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 (489): * Single equations (assignments): 467 * 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 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.1081/69.71, allocations: 36.92 MB / 12.82 GB, free: 102.9 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.1397/69.85, allocations: 35.2 MB / 12.85 GB, free: 81.98 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/69.85, allocations: 4 kB / 12.85 GB, free: 81.98 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.03783/69.89, allocations: 9.855 MB / 12.86 GB, free: 73.43 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05421/69.94, allocations: 6.251 MB / 12.87 GB, free: 69.02 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/70.05, allocations: 73.42 MB / 12.94 GB, free: 13.64 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0166/70.07, allocations: 7.152 MB / 12.95 GB, free: 8.652 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02992/70.1, allocations: 3.76 MB / 12.95 GB, free: 5.953 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01887/70.12, allocations: 6.109 MB / 12.95 GB, free: 352 kB / 1.276 GB Notification: Performance of SimCode: time 1.222e-06/70.12, allocations: 5.25 kB / 12.95 GB, free: 352 kB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.736/74.85, allocations: 0.5155 GB / 13.47 GB, free: 194.1 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/74.86, allocations: 249 kB / 13.47 GB, free: 193.8 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.37/104.2, allocations: 0 / 13.47 GB, free: 193.8 MB / 1.339 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)