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.613/1.613, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001047/0.001047, allocations: 180.9 kB / 366.7 MB, free: 1.645 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.56/1.56, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008334/0.0008333, allocations: 92.42 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.063e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7048/0.7048, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.897, allocations: 466.4 MB / 1.429 GB, free: 86.31 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/1.897, allocations: 96.27 kB / 1.429 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 43.97/45.86, allocations: 10.46 GB / 11.88 GB, free: 73.29 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.295e-06/45.86, allocations: 0 / 11.88 GB, free: 73.29 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003227/45.87, allocations: 349.8 kB / 11.88 GB, free: 73.23 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.04284/45.91, allocations: 11.06 MB / 11.9 GB, free: 68.37 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/45.91, allocations: 12.75 kB / 11.9 GB, free: 68.37 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/45.92, allocations: 2.082 MB / 11.9 GB, free: 67.58 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05632/45.98, allocations: 18.25 MB / 11.92 GB, free: 65.48 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005002/45.98, allocations: 198.5 kB / 11.92 GB, free: 65.48 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00325/45.98, allocations: 434.7 kB / 11.92 GB, free: 65.48 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01511/46, allocations: 6.896 MB / 11.92 GB, free: 65.45 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/46.02, allocations: 7.447 MB / 11.93 GB, free: 64.41 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/46.02, allocations: 13.41 kB / 11.93 GB, free: 64.41 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008046/46.02, allocations: 14.83 kB / 11.93 GB, free: 64.41 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/46.02, allocations: 155.1 kB / 11.93 GB, free: 64.41 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 0.08692/46.11, allocations: 48.74 MB / 11.98 GB, free: 37.76 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008714/46.12, allocations: 5.442 MB / 11.98 GB, free: 37.62 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005625/46.12, allocations: 3.972 MB / 11.99 GB, free: 37.55 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 evalFunc (simulation): time 0.04127/46.16, allocations: 13.45 MB / 12 GB, free: 34.42 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007056/46.17, allocations: 3.149 MB / 12 GB, free: 34.32 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01445/46.19, allocations: 2.291 MB / 12.01 GB, free: 34.04 MB / 1.198 GB Notification: Performance of pre-optimization done (n=326): time 3.926e-05/46.19, allocations: 0 / 12.01 GB, free: 34.04 MB / 1.198 GB Notification: Performance of matching and sorting (n=328): time 0.05797/46.24, allocations: 15.72 MB / 12.02 GB, free: 31.17 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/46.24, allocations: 88.86 kB / 12.02 GB, free: 31.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03021/46.27, allocations: 11.32 MB / 12.03 GB, free: 30.38 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002094/46.28, allocations: 38.92 kB / 12.03 GB, free: 30.34 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.008876/46.28, allocations: 6.194 MB / 12.04 GB, free: 28.86 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002086/46.29, allocations: 1.083 MB / 12.04 GB, free: 28.14 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005353/46.29, allocations: 0 / 12.04 GB, free: 28.14 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0003953/46.29, allocations: 0.5356 MB / 12.04 GB, free: 27.82 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/46.29, allocations: 3.032 MB / 12.04 GB, free: 27.81 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005575/46.3, allocations: 5.794 MB / 12.05 GB, free: 24.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008739/46.31, allocations: 3.979 MB / 12.05 GB, free: 24.24 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/46.31, allocations: 17.31 kB / 12.05 GB, free: 24.24 MB / 1.198 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.0241/46.33, allocations: 10.76 MB / 12.06 GB, free: 23.32 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.01288/46.34, allocations: 38.35 MB / 12.1 GB, free: 15.27 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002351/46.34, allocations: 58.38 kB / 12.1 GB, free: 15.27 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/46.35, allocations: 1.348 MB / 12.1 GB, free: 15.19 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008319/46.35, allocations: 1.397 MB / 12.1 GB, free: 15.18 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/46.37, allocations: 9.701 MB / 12.11 GB, free: 9.582 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/46.38, allocations: 0.7443 MB / 12.11 GB, free: 9.477 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/46.38, allocations: 420.6 kB / 12.11 GB, free: 9.473 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/46.38, allocations: 6.625 kB / 12.11 GB, free: 9.473 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01857/46.4, allocations: 8.52 MB / 12.12 GB, free: 8.852 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/46.4, allocations: 56.19 kB / 12.12 GB, free: 8.852 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003611/46.4, allocations: 1.471 MB / 12.12 GB, free: 8.754 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006248/46.41, allocations: 1.381 MB / 12.12 GB, free: 8.668 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/46.43, allocations: 12.54 MB / 12.14 GB, free: 20.15 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/46.44, allocations: 0.7048 MB / 12.14 GB, free: 20.06 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/46.44, allocations: 377 kB / 12.14 GB, free: 20.06 MB / 1.245 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 (640): * Single equations (assignments): 625 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.002139/46.44, allocations: 320.5 kB / 12.14 GB, free: 19.83 MB / 1.245 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01317/46.46, allocations: 6.614 MB / 12.14 GB, free: 18.88 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003451/46.46, allocations: 1.129 MB / 12.15 GB, free: 18.25 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/46.48, allocations: 7.647 MB / 12.15 GB, free: 17.66 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-05/46.48, allocations: 43.02 kB / 12.15 GB, free: 17.66 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/46.48, allocations: 0 / 12.15 GB, free: 17.66 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008636/46.49, allocations: 5.752 MB / 12.16 GB, free: 16.69 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.03769/46.52, allocations: 16.18 MB / 12.17 GB, free: 10.3 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/46.52, allocations: 0 / 12.17 GB, free: 10.3 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003207/46.53, allocations: 0.6024 MB / 12.18 GB, free: 10.25 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/46.53, allocations: 1.126 MB / 12.18 GB, free: 9.957 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003567/46.53, allocations: 61.02 kB / 12.18 GB, free: 9.941 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006858/46.54, allocations: 8.099 MB / 12.18 GB, free: 3.422 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/46.54, allocations: 0 / 12.18 GB, free: 3.422 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.118/47.65, allocations: 10.59 MB / 12.19 GB, free: 124 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009961/47.66, allocations: 2.15 MB / 12.2 GB, free: 123.9 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005158/47.67, allocations: 2.094 kB / 12.2 GB, free: 123.9 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0117/47.68, allocations: 0.6149 MB / 12.2 GB, free: 123.9 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/47.68, allocations: 234.5 kB / 12.2 GB, free: 123.9 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006128/47.68, allocations: 164.4 kB / 12.2 GB, free: 123.9 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02439/47.71, allocations: 8.457 MB / 12.21 GB, free: 123.6 MB / 1.245 GB Notification: Performance of sort global known variables: time 7.62e-07/47.71, allocations: 3.062 kB / 12.21 GB, free: 123.6 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.0421/47.75, allocations: 5.168 MB / 12.21 GB, free: 123.6 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (274): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.02979/47.78, allocations: 15.06 MB / 12.23 GB, free: 120.7 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.02716/47.81, allocations: 11.94 MB / 12.24 GB, free: 120.3 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/47.81, allocations: 7.547 kB / 12.24 GB, free: 120.3 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.004944/47.81, allocations: 2.663 MB / 12.24 GB, free: 120.2 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03422/47.85, allocations: 5.83 MB / 12.25 GB, free: 120.2 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05426/47.9, allocations: 19.31 MB / 12.26 GB, free: 116.2 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00898/47.91, allocations: 6.694 MB / 12.27 GB, free: 115.2 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03012/47.94, allocations: 5.85 MB / 12.28 GB, free: 115.1 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01064/47.95, allocations: 5.357 MB / 12.28 GB, free: 115.1 MB / 1.245 GB Notification: Performance of SimCode: time 1.032e-06/47.95, allocations: 2.438 kB / 12.28 GB, free: 115.1 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5172/48.47, allocations: 339.2 MB / 12.61 GB, free: 4.984 MB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/48.47, allocations: 168.4 kB / 12.61 GB, free: 4.789 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.53/68, allocations: 0 / 12.61 GB, free: 4.789 MB / 1.26 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)