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.429/2.429, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001559/0.001558, allocations: 188.7 kB / 360.6 MB, free: 7.27 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.074/2.074, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001071/0.001071, allocations: 92.48 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.532e-05, allocations: 4 kB / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8311/0.8312, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.413/2.244, allocations: 464.7 MB / 1.417 GB, free: 105 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/2.244, allocations: 94.45 kB / 1.417 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 58.08/60.33, allocations: 10.22 GB / 11.64 GB, free: 50.64 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.725e-06/60.33, allocations: 0 / 11.64 GB, free: 50.64 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003393/60.33, allocations: 351.7 kB / 11.64 GB, free: 50.3 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.05512/60.39, allocations: 11.14 MB / 11.65 GB, free: 39.06 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/60.39, allocations: 8.031 kB / 11.65 GB, free: 39.05 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02104/60.41, allocations: 2.219 MB / 11.65 GB, free: 36.82 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09668/60.5, allocations: 18.62 MB / 11.67 GB, free: 18.14 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005461/60.5, allocations: 196.5 kB / 11.67 GB, free: 17.95 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004365/60.51, allocations: 435.1 kB / 11.67 GB, free: 17.52 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.16/61.67, allocations: 17.9 MB / 11.69 GB, free: 70.7 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05962/61.73, allocations: 12.22 MB / 11.7 GB, free: 70.12 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004463/61.73, allocations: 7.906 kB / 11.7 GB, free: 70.12 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004438/61.73, allocations: 6.516 kB / 11.7 GB, free: 70.12 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002681/61.73, allocations: 149.5 kB / 11.7 GB, free: 70.12 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.1864/61.92, allocations: 69.12 MB / 11.77 GB, free: 39.32 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02302/61.94, allocations: 10.23 MB / 11.78 GB, free: 39.16 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02067/61.96, allocations: 8.775 MB / 11.79 GB, free: 39.1 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.1031/62.07, allocations: 29.38 MB / 11.82 GB, free: 30.95 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01878/62.09, allocations: 7.989 MB / 11.82 GB, free: 30.84 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08417/62.17, allocations: 15.11 MB / 11.84 GB, free: 30.74 MB / 1.198 GB Notification: Performance of pre-optimization done (n=393): time 4.42e-05/62.17, allocations: 0 / 11.84 GB, free: 30.74 MB / 1.198 GB Notification: Performance of matching and sorting (n=395): time 0.1393/62.31, allocations: 37.17 MB / 11.87 GB, free: 28.05 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/62.31, allocations: 98.45 kB / 11.87 GB, free: 27.98 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03498/62.34, allocations: 11.13 MB / 11.89 GB, free: 27.34 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.003655/62.35, allocations: 38.05 kB / 11.89 GB, free: 27.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01077/62.36, allocations: 5.982 MB / 11.89 GB, free: 26.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004523/62.36, allocations: 1.294 MB / 11.89 GB, free: 25.62 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003315/62.37, allocations: 0 / 11.89 GB, free: 25.62 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0007033/62.37, allocations: 0.5405 MB / 11.89 GB, free: 25.31 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01702/62.38, allocations: 6.915 MB / 11.9 GB, free: 25.29 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01965/62.4, allocations: 9.325 MB / 11.91 GB, free: 22.43 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02336/62.43, allocations: 7.977 MB / 11.92 GB, free: 22.3 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/62.43, allocations: 11.94 kB / 11.92 GB, free: 22.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.07758/62.51, allocations: 22.94 MB / 11.94 GB, free: 21.41 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.01094/62.52, allocations: 29.52 MB / 11.97 GB, free: 22.72 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002273/62.52, allocations: 47.38 kB / 11.97 GB, free: 22.72 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731/64.25, allocations: 167.2 MB / 12.13 GB, free: 7.543 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/64.26, allocations: 1.29 MB / 12.13 GB, free: 6.617 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23/65.49, allocations: 26.08 MB / 12.16 GB, free: 97.85 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02716/65.52, allocations: 0.8091 MB / 12.16 GB, free: 97.85 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004514/65.53, allocations: 0.7285 MB / 12.16 GB, free: 97.85 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/65.53, allocations: 3.781 kB / 12.16 GB, free: 97.85 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07268/65.6, allocations: 20.89 MB / 12.18 GB, free: 97.63 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002308/65.6, allocations: 43.72 kB / 12.18 GB, free: 97.63 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585/67.18, allocations: 167.2 MB / 12.34 GB, free: 97.39 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0115/67.19, allocations: 1.282 MB / 12.34 GB, free: 97.38 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09849/67.29, allocations: 28.33 MB / 12.37 GB, free: 94.61 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02801/67.32, allocations: 0.7818 MB / 12.37 GB, free: 94.57 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004781/67.33, allocations: 0.693 MB / 12.37 GB, free: 94.56 MB / 1.229 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 pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 548 * 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: 2 * 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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.007806/67.33, allocations: 284.5 kB / 12.37 GB, free: 94.45 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06767/67.4, allocations: 19.2 MB / 12.39 GB, free: 94.23 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007896/67.41, allocations: 1.134 MB / 12.39 GB, free: 93.9 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06716/67.48, allocations: 17.31 MB / 12.41 GB, free: 93.16 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001527/67.48, allocations: 49.25 kB / 12.41 GB, free: 93.16 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/67.48, allocations: 4 kB / 12.41 GB, free: 93.16 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03677/67.51, allocations: 12.5 MB / 12.42 GB, free: 92.65 MB / 1.229 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.2207/67.73, allocations: 45.41 MB / 12.47 GB, free: 86.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.132e-05/67.73, allocations: 7.578 kB / 12.47 GB, free: 86.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00716/67.74, allocations: 0.6964 MB / 12.47 GB, free: 86.49 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3856/68.13, allocations: 47.68 MB / 12.51 GB, free: 59.58 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00205/68.13, allocations: 75.12 kB / 12.51 GB, free: 59.54 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03805/68.17, allocations: 13.17 MB / 12.53 GB, free: 50.87 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/68.17, allocations: 0.8125 kB / 12.53 GB, free: 50.87 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2671/68.43, allocations: 41.07 MB / 12.57 GB, free: 22.2 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01222/68.45, allocations: 2.549 MB / 12.57 GB, free: 20.21 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005907/68.45, allocations: 0 / 12.57 GB, free: 20.21 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0193/68.47, allocations: 0.6185 MB / 12.57 GB, free: 19.62 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00219/68.47, allocations: 299.3 kB / 12.57 GB, free: 19.36 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001371/68.48, allocations: 207.5 kB / 12.57 GB, free: 19.2 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02347/68.5, allocations: 8.337 MB / 12.58 GB, free: 13.68 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.252e-06/68.5, allocations: 0 / 12.58 GB, free: 13.68 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05761/68.56, allocations: 5.715 MB / 12.58 GB, free: 8.375 MB / 1.229 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 (324): * Single equations (assignments): 304 * 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: 2 * 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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 1.494/70.05, allocations: 45.65 MB / 12.63 GB, free: 106.9 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.1104/70.16, allocations: 28.67 MB / 12.66 GB, free: 106.3 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/70.16, allocations: 1.938 kB / 12.66 GB, free: 106.3 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.02583/70.19, allocations: 7.209 MB / 12.66 GB, free: 106.2 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0529/70.24, allocations: 6.115 MB / 12.67 GB, free: 106.1 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07621/70.32, allocations: 21.16 MB / 12.69 GB, free: 102.1 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01611/70.33, allocations: 6.784 MB / 12.7 GB, free: 101.1 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.04302/70.38, allocations: 5.743 MB / 12.7 GB, free: 101 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01295/70.39, allocations: 5.466 MB / 12.71 GB, free: 101 MB / 1.245 GB Notification: Performance of SimCode: time 1.793e-06/70.39, allocations: 0 / 12.71 GB, free: 101 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.41/73.8, allocations: 475 MB / 13.17 GB, free: 151.5 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/73.8, allocations: 171.7 kB / 13.17 GB, free: 151.3 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.57/103.4, allocations: 0 / 13.17 GB, free: 151.3 MB / 1.292 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)