Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4",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.467/2.467, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001489/0.001489, allocations: 188.9 kB / 360.6 MB, free: 7.297 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.094/2.094, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001101/0.001101, allocations: 92.86 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.899e-05, allocations: 4 kB / 0.8508 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.7992, allocations: 115.3 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/2.137, allocations: 464 MB / 1.417 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/2.137, allocations: 92.42 kB / 1.417 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 57.84/59.98, allocations: 10.28 GB / 11.7 GB, free: 54.16 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.244e-06/59.98, allocations: 0 / 11.7 GB, free: 54.16 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003691/59.98, allocations: 380.8 kB / 11.7 GB, free: 54.08 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.07783/60.06, allocations: 12.13 MB / 11.71 GB, free: 48.56 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/60.06, allocations: 7.875 kB / 11.71 GB, free: 48.56 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/60.09, allocations: 2.185 MB / 11.71 GB, free: 47.67 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09787/60.18, allocations: 20.06 MB / 11.73 GB, free: 40 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005882/60.18, allocations: 228 kB / 11.73 GB, free: 39.78 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004825/60.19, allocations: 491.1 kB / 11.73 GB, free: 39.3 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04307/60.23, allocations: 18.35 MB / 11.75 GB, free: 22.63 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04182/60.27, allocations: 12.98 MB / 11.76 GB, free: 10.35 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005387/60.28, allocations: 11.84 kB / 11.76 GB, free: 10.34 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004093/60.28, allocations: 8 kB / 11.76 GB, free: 10.33 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002425/60.28, allocations: 184 kB / 11.76 GB, free: 10.15 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.372/61.65, allocations: 73.1 MB / 11.83 GB, free: 39.46 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/61.67, allocations: 10.3 MB / 11.84 GB, free: 39.31 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02126/61.7, allocations: 8.81 MB / 11.85 GB, free: 39.25 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.1045/61.8, allocations: 30.15 MB / 11.88 GB, free: 30.62 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02077/61.82, allocations: 7.967 MB / 11.89 GB, free: 30.51 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08141/61.9, allocations: 14.85 MB / 11.9 GB, free: 30.39 MB / 1.214 GB Notification: Performance of pre-optimization done (n=427): time 4.419e-05/61.9, allocations: 0 / 11.9 GB, free: 30.39 MB / 1.214 GB Notification: Performance of matching and sorting (n=429): time 0.145/62.05, allocations: 36.99 MB / 11.94 GB, free: 27.51 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/62.05, allocations: 100.1 kB / 11.94 GB, free: 27.44 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05031/62.1, allocations: 11.84 MB / 11.95 GB, free: 26.77 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004575/62.1, allocations: 40.36 kB / 11.95 GB, free: 26.74 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01646/62.12, allocations: 6.607 MB / 11.96 GB, free: 25.59 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006171/62.13, allocations: 1.407 MB / 11.96 GB, free: 24.86 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004217/62.13, allocations: 5.281 kB / 11.96 GB, free: 24.86 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001041/62.13, allocations: 0.5614 MB / 11.96 GB, free: 24.54 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02422/62.16, allocations: 6.938 MB / 11.97 GB, free: 24.52 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02835/62.18, allocations: 9.554 MB / 11.98 GB, free: 21.43 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03404/62.22, allocations: 8.063 MB / 11.99 GB, free: 21.32 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001815/62.22, allocations: 16.16 kB / 11.99 GB, free: 21.32 MB / 1.214 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.1105/62.33, allocations: 22.81 MB / 12.01 GB, free: 20.38 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01674/62.35, allocations: 34.63 MB / 12.04 GB, free: 16.33 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000374/62.35, allocations: 54.03 kB / 12.04 GB, free: 16.33 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479/63.82, allocations: 143.5 MB / 12.18 GB, free: 15.28 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/63.84, allocations: 1.488 MB / 12.18 GB, free: 15.28 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07378/63.92, allocations: 23.3 MB / 12.21 GB, free: 3.656 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02922/63.94, allocations: 0.8842 MB / 12.21 GB, free: 3.078 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004835/63.95, allocations: 0.7417 MB / 12.21 GB, free: 2.641 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/63.95, allocations: 4 kB / 12.21 GB, free: 2.637 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.519/66.47, allocations: 103.9 MB / 12.31 GB, free: 109.5 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002498/66.47, allocations: 52.56 kB / 12.31 GB, free: 109.5 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359/67.83, allocations: 143.6 MB / 12.45 GB, free: 108 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01306/67.84, allocations: 1.474 MB / 12.45 GB, free: 108 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08551/67.93, allocations: 25.93 MB / 12.48 GB, free: 105.4 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02846/67.95, allocations: 0.8546 MB / 12.48 GB, free: 105.3 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004574/67.96, allocations: 0.7009 MB / 12.48 GB, free: 105.3 MB / 1.26 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.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: 237 * 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 (661): * Single equations (assignments): 649 * 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 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006816/67.97, allocations: 301.7 kB / 12.48 GB, free: 105.2 MB / 1.26 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05968/68.03, allocations: 18.83 MB / 12.5 GB, free: 105 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006986/68.03, allocations: 1.221 MB / 12.5 GB, free: 104.7 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06513/68.1, allocations: 17.05 MB / 12.51 GB, free: 103.9 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001549/68.1, allocations: 52.2 kB / 12.51 GB, free: 103.9 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/68.1, allocations: 0 / 12.51 GB, free: 103.9 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03714/68.14, allocations: 12.21 MB / 12.53 GB, free: 103.5 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.09279/68.23, allocations: 33.48 MB / 12.56 GB, free: 97.45 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.847e-05/68.23, allocations: 3.719 kB / 12.56 GB, free: 97.45 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008313/68.24, allocations: 0.7987 MB / 12.56 GB, free: 97.44 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3292/68.57, allocations: 40.71 MB / 12.6 GB, free: 84.35 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001905/68.57, allocations: 79.08 kB / 12.6 GB, free: 84.29 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03118/68.6, allocations: 11.93 MB / 12.61 GB, free: 75.6 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/68.6, allocations: 4.75 kB / 12.61 GB, free: 75.59 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1339/68.73, allocations: 28.53 MB / 12.64 GB, free: 56.36 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01307/68.75, allocations: 2.717 MB / 12.64 GB, free: 54.27 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006217/68.75, allocations: 6.812 kB / 12.64 GB, free: 54.27 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02015/68.77, allocations: 0.6628 MB / 12.64 GB, free: 53.63 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00222/68.78, allocations: 311.2 kB / 12.64 GB, free: 53.36 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001884/68.78, allocations: 219.5 kB / 12.64 GB, free: 53.18 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02457/68.8, allocations: 8.873 MB / 12.65 GB, free: 47.35 MB / 1.26 GB Notification: Performance of sort global known variables: time 6.91e-07/68.8, allocations: 0 / 12.65 GB, free: 47.35 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.06511/68.87, allocations: 6.29 MB / 12.66 GB, free: 41.55 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (373): * Single equations (assignments): 353 * 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 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.1659/69.03, allocations: 33.6 MB / 12.69 GB, free: 17.48 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 1.304/70.34, allocations: 28.11 MB / 12.72 GB, free: 109.7 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/70.34, allocations: 3.75 kB / 12.72 GB, free: 109.7 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.02413/70.36, allocations: 6.965 MB / 12.72 GB, free: 109.7 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05747/70.42, allocations: 6.639 MB / 12.73 GB, free: 109.6 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08465/70.5, allocations: 23.08 MB / 12.75 GB, free: 105.2 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01735/70.52, allocations: 7.275 MB / 12.76 GB, free: 104.2 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.04952/70.57, allocations: 6.12 MB / 12.77 GB, free: 104.1 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01511/70.59, allocations: 6.075 MB / 12.77 GB, free: 104.1 MB / 1.26 GB Notification: Performance of SimCode: time 1.442e-06/70.59, allocations: 3 kB / 12.77 GB, free: 104.1 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.778/74.36, allocations: 495.4 MB / 13.26 GB, free: 131.8 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/74.36, allocations: 182.8 kB / 13.26 GB, free: 131.6 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.51/104.9, allocations: 0 / 13.26 GB, free: 131.6 MB / 1.323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)