Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4",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.475/1.475, allocations: 249.5 MB / 257 MB, free: 6.988 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.0009557/0.0009555, allocations: 191.4 kB / 316.3 MB, free: 3.223 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.452/1.452, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009834/0.0009834, allocations: 90.53 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.094e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2182, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.548/1.767, allocations: 457.5 MB / 1.332 GB, free: 287.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.767, allocations: 91.95 kB / 1.332 GB, free: 287.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 38.85/40.61, allocations: 9.995 GB / 11.33 GB, free: 82.94 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.344e-06/40.61, allocations: 0 / 11.33 GB, free: 82.94 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00352/40.62, allocations: 381.7 kB / 11.33 GB, free: 82.87 MB / 1.151 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.05718/40.67, allocations: 12.11 MB / 11.34 GB, free: 77.49 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/40.67, allocations: 7.531 kB / 11.34 GB, free: 77.49 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/40.69, allocations: 2.18 MB / 11.34 GB, free: 76.61 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06942/40.76, allocations: 20.05 MB / 11.36 GB, free: 74.17 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006896/40.76, allocations: 225.1 kB / 11.36 GB, free: 74.17 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00481/40.77, allocations: 491.6 kB / 11.36 GB, free: 74.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03529/40.8, allocations: 18.29 MB / 11.38 GB, free: 74.12 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04465/40.85, allocations: 12.91 MB / 11.39 GB, free: 73.31 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004508/40.85, allocations: 17.53 kB / 11.39 GB, free: 73.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004199/40.85, allocations: 12.28 kB / 11.39 GB, free: 73.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/40.85, allocations: 188.1 kB / 11.39 GB, free: 73.3 MB / 1.151 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.1375/40.99, allocations: 72.96 MB / 11.46 GB, free: 38.76 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01525/41, allocations: 10.23 MB / 11.47 GB, free: 34.62 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/41.02, allocations: 8.786 MB / 11.48 GB, free: 30.71 MB / 1.151 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.07037/41.09, allocations: 30.04 MB / 11.51 GB, free: 14.06 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01283/41.1, allocations: 7.91 MB / 11.52 GB, free: 9.16 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04791/41.15, allocations: 15.34 MB / 11.53 GB, free: 15.84 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 4.671e-05/41.15, allocations: 5.875 kB / 11.53 GB, free: 15.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=429): time 1.022/42.17, allocations: 37.38 MB / 11.57 GB, free: 103.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/42.17, allocations: 100.1 kB / 11.57 GB, free: 103 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03302/42.2, allocations: 11.85 MB / 11.58 GB, free: 102.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002878/42.21, allocations: 38.92 kB / 11.58 GB, free: 102.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00892/42.22, allocations: 6.601 MB / 11.59 GB, free: 101.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003723/42.22, allocations: 1.413 MB / 11.59 GB, free: 100.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/42.22, allocations: 1.422 kB / 11.59 GB, free: 100.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005286/42.22, allocations: 0.561 MB / 11.59 GB, free: 100.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009246/42.23, allocations: 6.908 MB / 11.6 GB, free: 100.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01242/42.24, allocations: 9.519 MB / 11.61 GB, free: 97.05 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/42.26, allocations: 8.034 MB / 11.61 GB, free: 96.93 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/42.26, allocations: 16.22 kB / 11.61 GB, free: 96.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.05113/42.31, allocations: 22.75 MB / 11.64 GB, free: 96 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005973/42.31, allocations: 34.64 MB / 11.67 GB, free: 59.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/42.31, allocations: 55.44 kB / 11.67 GB, free: 59.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6264/42.94, allocations: 143.5 MB / 11.81 GB, free: 59.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/42.95, allocations: 1.492 MB / 11.81 GB, free: 59.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03812/42.99, allocations: 23.29 MB / 11.84 GB, free: 55.37 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01996/43.01, allocations: 0.8801 MB / 11.84 GB, free: 55.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004275/43.01, allocations: 0.744 MB / 11.84 GB, free: 55.27 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/43.01, allocations: 4.875 kB / 11.84 GB, free: 55.27 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5326/43.55, allocations: 102.9 MB / 11.94 GB, free: 16.61 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002827/43.55, allocations: 52 kB / 11.94 GB, free: 16.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511/45.06, allocations: 143.6 MB / 12.08 GB, free: 146.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006756/45.07, allocations: 1.477 MB / 12.08 GB, free: 146.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04122/45.11, allocations: 25.93 MB / 12.1 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01749/45.12, allocations: 0.8517 MB / 12.11 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003459/45.13, allocations: 0.7025 MB / 12.11 GB, free: 144.1 MB / 1.214 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.003552/45.13, allocations: 303.5 kB / 12.11 GB, free: 144 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04712/45.18, allocations: 18.76 MB / 12.12 GB, free: 143.7 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006734/45.18, allocations: 1.218 MB / 12.13 GB, free: 143 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03801/45.22, allocations: 16.97 MB / 12.14 GB, free: 142.5 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-05/45.22, allocations: 53.89 kB / 12.14 GB, free: 142.5 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/45.22, allocations: 2.438 kB / 12.14 GB, free: 142.5 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01646/45.24, allocations: 12.15 MB / 12.15 GB, free: 142.1 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 postOpt removeSimpleEquations (simulation): time 0.04939/45.29, allocations: 33.34 MB / 12.19 GB, free: 136.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/45.29, allocations: 6.109 kB / 12.19 GB, free: 136.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004012/45.29, allocations: 0.8033 MB / 12.19 GB, free: 136.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1763/45.47, allocations: 40.72 MB / 12.23 GB, free: 136 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001311/45.47, allocations: 78.55 kB / 12.23 GB, free: 136 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/45.49, allocations: 11.91 MB / 12.24 GB, free: 132 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/45.49, allocations: 3.219 kB / 12.24 GB, free: 132 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07381/45.56, allocations: 28.41 MB / 12.27 GB, free: 130.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00936/45.57, allocations: 2.689 MB / 12.27 GB, free: 129.4 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004764/45.58, allocations: 3.125 kB / 12.27 GB, free: 129.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01261/45.59, allocations: 0.6689 MB / 12.27 GB, free: 129.4 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/45.59, allocations: 311.8 kB / 12.27 GB, free: 129.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006973/45.59, allocations: 215.2 kB / 12.27 GB, free: 129.4 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02065/45.61, allocations: 8.871 MB / 12.28 GB, free: 129.1 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.363e-06/45.61, allocations: 0 / 12.28 GB, free: 129.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.05223/45.66, allocations: 6.266 MB / 12.29 GB, free: 129.1 MB / 1.214 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.08473/45.75, allocations: 33.46 MB / 12.32 GB, free: 115.9 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.05453/45.8, allocations: 28.03 MB / 12.35 GB, free: 101.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/45.8, allocations: 4 kB / 12.35 GB, free: 101.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01329/45.82, allocations: 6.923 MB / 12.35 GB, free: 98.46 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03688/45.85, allocations: 6.645 MB / 12.36 GB, free: 94.75 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05658/45.91, allocations: 23.03 MB / 12.38 GB, free: 75.14 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009733/45.92, allocations: 7.277 MB / 12.39 GB, free: 70.11 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03209/45.95, allocations: 6.104 MB / 12.39 GB, free: 66.14 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0104/45.96, allocations: 6.078 MB / 12.4 GB, free: 60.54 MB / 1.214 GB Notification: Performance of SimCode: time 1.202e-06/45.96, allocations: 0 / 12.4 GB, free: 60.54 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.598/48.56, allocations: 494.5 MB / 12.88 GB, free: 3.477 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/48.56, allocations: 177.3 kB / 12.88 GB, free: 3.285 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.18/73.74, allocations: 0 / 12.88 GB, free: 3.285 MB / 1.261 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)