Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.922 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.001039/0.001039, allocations: 183.4 kB / 316.3 MB, free: 3.242 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.654/1.654, 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.0009431/0.0009432, allocations: 94.34 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.707e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2058, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.415/5.621, allocations: 2.182 GB / 3.067 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/5.621, allocations: 90.77 kB / 3.067 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.396/9.017, allocations: 0.9174 GB / 3.985 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.532e-06/9.017, allocations: 0 / 3.985 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001898/9.018, allocations: 34.66 kB / 3.985 GB, free: 242.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003189/9.021, allocations: 1.14 MB / 3.986 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/9.021, allocations: 10.38 kB / 3.986 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/9.022, allocations: 184.6 kB / 3.986 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/9.025, allocations: 1.076 MB / 3.987 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/9.025, allocations: 23.25 kB / 3.987 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/9.026, allocations: 41.31 kB / 3.987 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009661/9.027, allocations: 469.6 kB / 3.988 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/9.028, allocations: 0.6678 MB / 3.988 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/9.028, allocations: 4.688 kB / 3.988 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/9.028, allocations: 2.312 kB / 3.988 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/9.028, allocations: 17.61 kB / 3.988 GB, free: 241.4 MB / 0.8698 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.004172/9.032, allocations: 4.477 MB / 3.993 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/9.033, allocations: 431.5 kB / 3.993 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/9.033, allocations: 241.5 kB / 3.993 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/9.033, allocations: 197.2 kB / 3.993 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/9.034, allocations: 266.3 kB / 3.994 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.116e-06/9.034, allocations: 0 / 3.994 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001162/9.035, allocations: 496.3 kB / 3.994 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/9.035, allocations: 89.8 kB / 3.994 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/9.036, allocations: 0.8458 MB / 3.995 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/9.036, allocations: 25.7 kB / 3.995 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/9.037, allocations: 0.4909 MB / 3.996 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/9.037, allocations: 102.6 kB / 3.996 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/9.037, allocations: 3.469 kB / 3.996 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/9.037, allocations: 332 kB / 3.996 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/9.037, allocations: 175.9 kB / 3.996 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/9.038, allocations: 0.4886 MB / 3.997 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/9.038, allocations: 256.1 kB / 3.997 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/9.038, allocations: 0 / 3.997 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001038/9.039, allocations: 0.6196 MB / 3.998 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006259/9.04, allocations: 2.132 MB / 4 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/9.04, allocations: 7.312 kB / 4 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/9.04, allocations: 9.969 kB / 4 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/9.042, allocations: 307.4 kB / 4 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/9.044, allocations: 6.186 MB / 4.006 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/9.045, allocations: 84.03 kB / 4.006 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.231e-05/9.045, allocations: 31.06 kB / 4.006 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/9.045, allocations: 4.5 kB / 4.006 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005905/9.046, allocations: 412.2 kB / 4.006 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/9.046, allocations: 7.719 kB / 4.006 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/9.046, allocations: 7.438 kB / 4.006 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/9.046, allocations: 150.2 kB / 4.007 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/9.047, allocations: 14.58 kB / 4.007 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/9.047, allocations: 76.17 kB / 4.007 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/9.048, allocations: 23.09 kB / 4.007 GB, free: 228.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002068/9.048, allocations: 127.3 kB / 4.007 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006574/9.048, allocations: 415.1 kB / 4.007 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/9.049, allocations: 95.22 kB / 4.007 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008167/9.049, allocations: 445.1 kB / 4.008 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/9.049, allocations: 3.844 kB / 4.008 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/9.049, allocations: 0 / 4.008 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/9.049, allocations: 3.875 kB / 4.008 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/9.052, allocations: 1.268 MB / 4.009 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/9.052, allocations: 3.938 kB / 4.009 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/9.052, allocations: 148.2 kB / 4.009 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/9.052, allocations: 3.219 kB / 4.009 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/9.052, allocations: 10 kB / 4.009 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/9.055, allocations: 6.032 MB / 4.015 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/9.055, allocations: 3.969 kB / 4.015 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/9.055, allocations: 0.628 MB / 4.016 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/9.056, allocations: 207.3 kB / 4.016 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/9.056, allocations: 11.19 kB / 4.016 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/9.057, allocations: 45.55 kB / 4.016 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/9.057, allocations: 33.02 kB / 4.016 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/9.057, allocations: 10.53 kB / 4.016 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000906/9.058, allocations: 0.6698 MB / 4.017 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.91e-07/9.058, allocations: 0 / 4.017 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001727/9.06, allocations: 453.8 kB / 4.017 GB, free: 221.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002437/9.062, allocations: 2.594 MB / 4.02 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002378/9.064, allocations: 0.9385 MB / 4.021 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/9.064, allocations: 0 / 4.021 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/9.065, allocations: 257.2 kB / 4.021 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/9.067, allocations: 390.2 kB / 4.021 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/9.07, allocations: 1.618 MB / 4.023 GB, free: 219 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/9.071, allocations: 1.198 MB / 4.024 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001928/9.073, allocations: 0.7435 MB / 4.025 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/9.073, allocations: 296.2 kB / 4.025 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.442e-06/9.073, allocations: 0 / 4.025 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05961/9.133, allocations: 30.67 MB / 4.055 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/9.133, allocations: 191.7 kB / 4.055 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/12.08, allocations: 3.875 kB / 4.055 GB, free: 216.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)