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.384/1.384, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 179.7 kB / 326.5 MB, free: 2.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.803/1.803, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008705/0.0008708, allocations: 93.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 10.41 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2061, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.989/5.196, allocations: 2.182 GB / 3.082 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/5.196, allocations: 91.95 kB / 3.082 GB, free: 38.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.459/8.655, allocations: 0.9284 GB / 4.01 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/8.655, allocations: 0 / 4.01 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001563/8.655, allocations: 31.98 kB / 4.01 GB, free: 147.3 MB / 0.8855 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.004172/8.66, allocations: 1.429 MB / 4.012 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/8.66, allocations: 12.03 kB / 4.012 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/8.66, allocations: 94.52 kB / 4.012 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/8.661, allocations: 183.5 kB / 4.012 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/8.664, allocations: 1.096 MB / 4.013 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/8.664, allocations: 44.98 kB / 4.013 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/8.664, allocations: 67.94 kB / 4.013 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/8.665, allocations: 0.7654 MB / 4.014 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/8.665, allocations: 7.984 kB / 4.014 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/8.665, allocations: 16 kB / 4.014 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/8.665, allocations: 19.94 kB / 4.014 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/8.666, allocations: 0.5111 MB / 4.015 GB, free: 142.8 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005022/8.671, allocations: 4.596 MB / 4.019 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/8.672, allocations: 418.5 kB / 4.019 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/8.672, allocations: 194.2 kB / 4.02 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004736/8.673, allocations: 299.4 kB / 4.02 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.816e-06/8.673, allocations: 0 / 4.02 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.00144/8.674, allocations: 0.6431 MB / 4.021 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/8.674, allocations: 89.11 kB / 4.021 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/8.676, allocations: 0.9795 MB / 4.022 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/8.676, allocations: 41.7 kB / 4.022 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/8.676, allocations: 489.6 kB / 4.022 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/8.676, allocations: 114.4 kB / 4.022 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/8.676, allocations: 8 kB / 4.022 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/8.676, allocations: 326 kB / 4.023 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/8.676, allocations: 188.7 kB / 4.023 GB, free: 134 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/8.677, allocations: 0.5014 MB / 4.023 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/8.677, allocations: 299.6 kB / 4.023 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/8.677, allocations: 0 / 4.023 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001137/8.679, allocations: 0.6819 MB / 4.024 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007532/8.679, allocations: 2.133 MB / 4.026 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/8.679, allocations: 4 kB / 4.026 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/8.679, allocations: 8 kB / 4.026 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/8.681, allocations: 303.5 kB / 4.027 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/8.683, allocations: 6.087 MB / 4.032 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/8.684, allocations: 107.5 kB / 4.033 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/8.684, allocations: 24 kB / 4.033 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/8.684, allocations: 7.953 kB / 4.033 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007561/8.685, allocations: 0.536 MB / 4.033 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/8.685, allocations: 4.656 kB / 4.033 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/8.685, allocations: 8 kB / 4.033 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/8.686, allocations: 151.8 kB / 4.033 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/8.686, allocations: 11.94 kB / 4.033 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/8.686, allocations: 87.62 kB / 4.033 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/8.687, allocations: 27.98 kB / 4.033 GB, free: 122.5 MB / 0.8855 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 () * Number of clocked 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.0006179/8.687, allocations: 470.1 kB / 4.034 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/8.687, allocations: 107.1 kB / 4.034 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00079/8.688, allocations: 0.4912 MB / 4.034 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/8.688, allocations: 4 kB / 4.034 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/8.688, allocations: 3.984 kB / 4.034 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/8.688, allocations: 3.984 kB / 4.034 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/8.69, allocations: 1.394 MB / 4.036 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/8.69, allocations: 4 kB / 4.036 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/8.691, allocations: 160 kB / 4.036 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/8.691, allocations: 4 kB / 4.036 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/8.691, allocations: 8 kB / 4.036 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/8.692, allocations: 6.021 MB / 4.042 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/8.692, allocations: 4 kB / 4.042 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/8.693, allocations: 0.6969 MB / 4.043 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/8.693, allocations: 223.7 kB / 4.043 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/8.694, allocations: 12 kB / 4.043 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/8.694, allocations: 59.8 kB / 4.043 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/8.694, allocations: 31.95 kB / 4.043 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/8.694, allocations: 12 kB / 4.043 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008371/8.695, allocations: 0.7836 MB / 4.044 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/8.695, allocations: 0 / 4.044 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00151/8.697, allocations: 475.7 kB / 4.044 GB, free: 111.1 MB / 0.8855 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) * Number of clocked states: 0 () * 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.002306/8.699, allocations: 2.509 MB / 4.047 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002384/8.701, allocations: 0.994 MB / 4.047 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/8.701, allocations: 0 / 4.047 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006409/8.702, allocations: 284.5 kB / 4.048 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/8.704, allocations: 458.7 kB / 4.048 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/8.714, allocations: 9.616 MB / 4.058 GB, free: 96.87 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/8.714, allocations: 1.208 MB / 4.059 GB, free: 95.63 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001137/8.716, allocations: 375.7 kB / 4.059 GB, free: 95.26 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/8.716, allocations: 315.3 kB / 4.059 GB, free: 94.95 MB / 0.8855 GB Notification: Performance of SimCode: time 8.22e-07/8.716, allocations: 0 / 4.059 GB, free: 94.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0567/8.773, allocations: 40.12 MB / 4.099 GB, free: 55.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/8.773, allocations: 269.5 kB / 4.099 GB, free: 54.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/12.06, allocations: 0 / 4.099 GB, free: 54.76 MB / 0.8855 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)