Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 289.7 MB / 302.2 MB, free: 2.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.001104/0.001104, allocations: 180.2 kB / 371.6 MB, free: 3.406 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.543/1.543, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008891/0.000889, allocations: 88.02 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.191e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2904, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.007/2.297, allocations: 467.1 MB / 1.436 GB, free: 293.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/2.298, allocations: 99.58 kB / 1.436 GB, free: 293.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 46.67/48.97, allocations: 10.5 GB / 11.94 GB, free: 59.84 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.515e-06/48.97, allocations: 0 / 11.94 GB, free: 59.84 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003353/48.97, allocations: 351.2 kB / 11.94 GB, free: 59.74 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.04462/49.02, allocations: 11.07 MB / 11.95 GB, free: 50.48 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/49.02, allocations: 8.031 kB / 11.95 GB, free: 50.47 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004434/49.02, allocations: 0.7823 MB / 11.95 GB, free: 49.68 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/49.03, allocations: 2.071 MB / 11.95 GB, free: 47.59 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05261/49.09, allocations: 18.27 MB / 11.97 GB, free: 29.26 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007686/49.09, allocations: 0.5357 MB / 11.97 GB, free: 28.72 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/49.09, allocations: 0.707 MB / 11.97 GB, free: 28.02 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/49.11, allocations: 8.288 MB / 11.98 GB, free: 19.39 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/49.11, allocations: 15.88 kB / 11.98 GB, free: 19.38 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/49.11, allocations: 252 kB / 11.98 GB, free: 19.13 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/49.11, allocations: 152 kB / 11.98 GB, free: 18.98 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/49.13, allocations: 6.624 MB / 11.99 GB, free: 12.35 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 1.263/50.39, allocations: 49.83 MB / 12.04 GB, free: 48.84 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008275/50.4, allocations: 4.644 MB / 12.04 GB, free: 48.68 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005639/50.4, allocations: 3.618 MB / 12.04 GB, free: 48.62 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.03979/50.44, allocations: 13.69 MB / 12.06 GB, free: 45.8 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006513/50.45, allocations: 3.252 MB / 12.06 GB, free: 45.69 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0137/50.46, allocations: 2.393 MB / 12.06 GB, free: 45.64 MB / 1.214 GB Notification: Performance of pre-optimization done (n=326): time 2.887e-05/50.46, allocations: 0 / 12.06 GB, free: 45.64 MB / 1.214 GB Notification: Performance of matching and sorting (n=514): time 0.1375/50.6, allocations: 36.89 MB / 12.1 GB, free: 38.58 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/50.6, allocations: 106.4 kB / 12.1 GB, free: 38.51 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0374/50.64, allocations: 12.05 MB / 12.11 GB, free: 37.78 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002529/50.64, allocations: 175.6 kB / 12.11 GB, free: 37.75 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0105/50.65, allocations: 6.219 MB / 12.12 GB, free: 36.67 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003591/50.65, allocations: 1.736 MB / 12.12 GB, free: 35.79 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/50.66, allocations: 146.4 kB / 12.12 GB, free: 35.79 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000787/50.66, allocations: 0.5911 MB / 12.12 GB, free: 35.48 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009991/50.67, allocations: 3.923 MB / 12.12 GB, free: 35.46 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01113/50.68, allocations: 6.84 MB / 12.13 GB, free: 32.1 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00954/50.69, allocations: 4.726 MB / 12.13 GB, free: 31.93 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/50.69, allocations: 16.41 kB / 12.13 GB, free: 31.93 MB / 1.214 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.03509/50.72, allocations: 13.92 MB / 12.15 GB, free: 30.89 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01717/50.74, allocations: 38.51 MB / 12.19 GB, free: 39.04 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003209/50.74, allocations: 58.97 kB / 12.19 GB, free: 39.04 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009096/50.75, allocations: 3.391 MB / 12.19 GB, free: 38.95 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/50.76, allocations: 1.874 MB / 12.19 GB, free: 38.95 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/50.78, allocations: 12.31 MB / 12.2 GB, free: 32.22 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01898/50.8, allocations: 1.211 MB / 12.2 GB, free: 32.2 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002849/50.8, allocations: 497.8 kB / 12.2 GB, free: 32.19 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/50.8, allocations: 3.031 kB / 12.2 GB, free: 32.19 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02919/50.83, allocations: 12.91 MB / 12.22 GB, free: 31.83 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003138/50.83, allocations: 60.12 kB / 12.22 GB, free: 31.83 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008457/50.84, allocations: 3.651 MB / 12.22 GB, free: 31.75 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009442/50.85, allocations: 1.862 MB / 12.22 GB, free: 31.75 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02698/50.88, allocations: 16.62 MB / 12.24 GB, free: 26.16 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01744/50.89, allocations: 1.18 MB / 12.24 GB, free: 26.14 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/50.89, allocations: 444.4 kB / 12.24 GB, free: 26.14 MB / 1.26 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.004148/50.9, allocations: 0.5356 MB / 12.24 GB, free: 26.03 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005493/50.9, allocations: 1.199 MB / 12.24 GB, free: 25.37 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03026/50.93, allocations: 12.35 MB / 12.25 GB, free: 24.8 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.06e-05/50.93, allocations: 62.17 kB / 12.25 GB, free: 24.8 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/50.94, allocations: 0 / 12.25 GB, free: 24.8 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01676/50.95, allocations: 9.748 MB / 12.26 GB, free: 24.21 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.06359/51.02, allocations: 24.37 MB / 12.29 GB, free: 22.18 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/51.02, allocations: 10.89 kB / 12.29 GB, free: 22.17 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006123/51.02, allocations: 1.161 MB / 12.29 GB, free: 22.17 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005465/51.03, allocations: 2.395 MB / 12.29 GB, free: 22.08 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009998/51.03, allocations: 167.6 kB / 12.29 GB, free: 22.08 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/51.04, allocations: 10.99 MB / 12.3 GB, free: 31.36 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/51.04, allocations: 16.53 kB / 12.3 GB, free: 31.36 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03302/51.07, allocations: 18.99 MB / 12.32 GB, free: 27.04 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01102/51.08, allocations: 2.544 MB / 12.32 GB, free: 26.26 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00584/51.09, allocations: 113 kB / 12.32 GB, free: 26.26 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01503/51.1, allocations: 0.9869 MB / 12.32 GB, free: 26.25 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00176/51.11, allocations: 391 kB / 12.32 GB, free: 26.23 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001383/51.11, allocations: 248.8 kB / 12.32 GB, free: 26.23 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02436/51.13, allocations: 9.158 MB / 12.33 GB, free: 25.82 MB / 1.276 GB Notification: Performance of sort global known variables: time 6.81e-07/51.13, allocations: 0 / 12.33 GB, free: 25.82 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.04764/51.18, allocations: 6.002 MB / 12.34 GB, free: 25.82 MB / 1.276 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.04717/51.23, allocations: 24.11 MB / 12.36 GB, free: 19.21 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.03693/51.26, allocations: 16.81 MB / 12.38 GB, free: 18.48 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/51.26, allocations: 3.406 kB / 12.38 GB, free: 18.48 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.009595/51.27, allocations: 4.659 MB / 12.38 GB, free: 18.37 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03568/51.31, allocations: 5.982 MB / 12.39 GB, free: 17.99 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06866/51.38, allocations: 22.58 MB / 12.41 GB, free: 13.4 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009795/51.39, allocations: 7.085 MB / 12.42 GB, free: 12.27 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03141/51.42, allocations: 6.481 MB / 12.42 GB, free: 8.18 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009849/51.43, allocations: 5.765 MB / 12.43 GB, free: 7.281 MB / 1.276 GB Notification: Performance of SimCode: time 1.182e-06/51.43, allocations: 0 / 12.43 GB, free: 7.281 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.865/53.29, allocations: 420 MB / 12.84 GB, free: 48.76 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/53.29, allocations: 222 kB / 12.84 GB, free: 48.54 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.02/78.31, allocations: 0 / 12.84 GB, free: 48.54 MB / 1.292 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)