Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 180.9 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008367/0.0008367, allocations: 84.25 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.993e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1828, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/1.658, allocations: 458.1 MB / 1.333 GB, free: 287 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.658, allocations: 95.95 kB / 1.333 GB, free: 286.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 39.47/41.13, allocations: 9.934 GB / 11.27 GB, free: 75.06 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.054e-06/41.13, allocations: 3.062 kB / 11.27 GB, free: 75.06 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003237/41.13, allocations: 346.6 kB / 11.27 GB, free: 75 MB / 1.135 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.04199/41.17, allocations: 11.14 MB / 11.28 GB, free: 69.99 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/41.17, allocations: 9.375 kB / 11.28 GB, free: 69.99 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/41.19, allocations: 2.221 MB / 11.28 GB, free: 69.16 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05651/41.25, allocations: 18.6 MB / 11.3 GB, free: 66.82 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000445/41.25, allocations: 195.2 kB / 11.3 GB, free: 66.82 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003394/41.25, allocations: 437.7 kB / 11.3 GB, free: 66.82 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02488/41.27, allocations: 17.84 MB / 11.32 GB, free: 66.79 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/41.3, allocations: 12.18 MB / 11.33 GB, free: 66.16 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/41.3, allocations: 3.938 kB / 11.33 GB, free: 66.16 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/41.3, allocations: 5.625 kB / 11.33 GB, free: 66.16 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.99e-05/41.3, allocations: 151.9 kB / 11.33 GB, free: 66.16 MB / 1.135 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.1037/41.41, allocations: 69 MB / 11.4 GB, free: 33.7 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/41.42, allocations: 10.17 MB / 11.41 GB, free: 33.54 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009761/41.43, allocations: 8.749 MB / 11.41 GB, free: 29.66 MB / 1.135 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.05423/41.48, allocations: 29.28 MB / 11.44 GB, free: 13.75 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0131/41.5, allocations: 7.951 MB / 11.45 GB, free: 10.84 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04196/41.54, allocations: 15.11 MB / 11.47 GB, free: 1.973 MB / 1.135 GB Notification: Performance of pre-optimization done (n=393): time 4.589e-05/41.54, allocations: 0 / 11.47 GB, free: 1.973 MB / 1.135 GB Notification: Performance of matching and sorting (n=395): time 1.19/42.73, allocations: 37.62 MB / 11.5 GB, free: 80.7 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/42.73, allocations: 95.14 kB / 11.5 GB, free: 80.63 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03334/42.76, allocations: 11.13 MB / 11.51 GB, free: 79.98 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.003792/42.77, allocations: 41.36 kB / 11.51 GB, free: 79.95 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01054/42.78, allocations: 5.983 MB / 11.52 GB, free: 79.02 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.004484/42.78, allocations: 1.291 MB / 11.52 GB, free: 78.34 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002393/42.78, allocations: 0.8125 kB / 11.52 GB, free: 78.34 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0005484/42.78, allocations: 0.5414 MB / 11.52 GB, free: 78.02 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01194/42.8, allocations: 6.877 MB / 11.53 GB, free: 78.01 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01436/42.81, allocations: 9.307 MB / 11.54 GB, free: 75.16 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/42.83, allocations: 7.922 MB / 11.54 GB, free: 75.04 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001479/42.83, allocations: 12.97 kB / 11.54 GB, free: 75.04 MB / 1.135 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.0554/42.88, allocations: 22.89 MB / 11.57 GB, free: 74.15 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.005137/42.89, allocations: 29.52 MB / 11.6 GB, free: 43.46 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/42.89, allocations: 43.91 kB / 11.6 GB, free: 43.46 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7376/43.63, allocations: 167.2 MB / 11.76 GB, free: 42.57 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00753/43.63, allocations: 1.29 MB / 11.76 GB, free: 42.56 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04354/43.68, allocations: 25.48 MB / 11.79 GB, free: 38.41 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0167/43.69, allocations: 0.8146 MB / 11.79 GB, free: 38.32 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003461/43.7, allocations: 0.7314 MB / 11.79 GB, free: 38.32 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/43.7, allocations: 3.469 kB / 11.79 GB, free: 38.32 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04295/43.74, allocations: 20.82 MB / 11.81 GB, free: 38 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002704/43.74, allocations: 42.31 kB / 11.81 GB, free: 38 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633/45.37, allocations: 167.2 MB / 11.97 GB, free: 121.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006524/45.38, allocations: 1.28 MB / 11.97 GB, free: 121.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05799/45.44, allocations: 28.31 MB / 12 GB, free: 119.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01715/45.46, allocations: 0.7863 MB / 12 GB, free: 119.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003784/45.46, allocations: 0.6875 MB / 12 GB, free: 119.3 MB / 1.182 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.005833/45.46, allocations: 286.1 kB / 12 GB, free: 119.2 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04285/45.51, allocations: 19.14 MB / 12.02 GB, free: 119 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006781/45.51, allocations: 1.136 MB / 12.02 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04794/45.56, allocations: 17.24 MB / 12.04 GB, free: 118.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/45.56, allocations: 55.05 kB / 12.04 GB, free: 118.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/45.56, allocations: 0 / 12.04 GB, free: 118.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0234/45.59, allocations: 12.44 MB / 12.05 GB, free: 118 MB / 1.182 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.1458/45.73, allocations: 45.27 MB / 12.09 GB, free: 111.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.008e-05/45.73, allocations: 7.5 kB / 12.09 GB, free: 111.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003922/45.74, allocations: 0.6938 MB / 12.09 GB, free: 111.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2145/45.95, allocations: 47.69 MB / 12.14 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/45.95, allocations: 71.5 kB / 12.14 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01966/45.97, allocations: 13.17 MB / 12.15 GB, free: 107.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/45.97, allocations: 7.922 kB / 12.15 GB, free: 107.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1494/46.12, allocations: 40.94 MB / 12.19 GB, free: 106 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009269/46.13, allocations: 2.528 MB / 12.2 GB, free: 105.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005161/46.14, allocations: 3.812 kB / 12.2 GB, free: 105.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01239/46.15, allocations: 0.6185 MB / 12.2 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001455/46.15, allocations: 302 kB / 12.2 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001234/46.15, allocations: 194.2 kB / 12.2 GB, free: 105.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01542/46.17, allocations: 8.344 MB / 12.21 GB, free: 104.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.31e-07/46.17, allocations: 0 / 12.21 GB, free: 104.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.03714/46.2, allocations: 5.668 MB / 12.21 GB, free: 100.3 MB / 1.182 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 0.1477/46.35, allocations: 45.51 MB / 12.26 GB, free: 73.76 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0544/46.41, allocations: 28.58 MB / 12.28 GB, free: 59.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/46.41, allocations: 1.094 kB / 12.28 GB, free: 59.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01436/46.42, allocations: 7.177 MB / 12.29 GB, free: 55.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03136/46.45, allocations: 6.106 MB / 12.3 GB, free: 52.39 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04398/46.5, allocations: 21.11 MB / 12.32 GB, free: 36.81 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006678/46.5, allocations: 6.782 MB / 12.32 GB, free: 32.11 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.02395/46.53, allocations: 5.726 MB / 12.33 GB, free: 28.39 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006969/46.53, allocations: 5.465 MB / 12.33 GB, free: 23.35 MB / 1.182 GB Notification: Performance of SimCode: time 1.513e-06/46.53, allocations: 0 / 12.33 GB, free: 23.35 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.231/49.76, allocations: 474.3 MB / 12.8 GB, free: 152.3 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/49.76, allocations: 182.7 kB / 12.8 GB, free: 152.1 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.66/71.43, allocations: 2.406 kB / 12.8 GB, free: 152.1 MB / 1.261 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)