Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001425/0.001425, allocations: 176.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009532/0.0009533, allocations: 84.44 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.325e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7677/0.7677, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.384/6.151, allocations: 2.066 GB / 3.04 GB, free: 63.31 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/6.152, allocations: 88.55 kB / 3.04 GB, free: 63.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.374/10.53, allocations: 1.069 GB / 4.109 GB, free: 93.53 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.704e-06/10.53, allocations: 0 / 4.109 GB, free: 93.53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001041/10.53, allocations: 32.36 kB / 4.109 GB, free: 93.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003959/10.53, allocations: 1.274 MB / 4.11 GB, free: 92.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/10.53, allocations: 12.03 kB / 4.11 GB, free: 92.15 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/10.53, allocations: 198.4 kB / 4.11 GB, free: 91.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003284/10.53, allocations: 1.449 MB / 4.112 GB, free: 90.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/10.53, allocations: 20 kB / 4.112 GB, free: 90.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/10.53, allocations: 40 kB / 4.112 GB, free: 90.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009496/10.54, allocations: 0.7013 MB / 4.113 GB, free: 89.69 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/10.54, allocations: 0.8454 MB / 4.113 GB, free: 88.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/10.54, allocations: 4 kB / 4.113 GB, free: 88.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/10.54, allocations: 3.984 kB / 4.113 GB, free: 88.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/10.54, allocations: 19.95 kB / 4.113 GB, free: 88.74 MB / 0.948 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.003905/10.54, allocations: 4.566 MB / 4.118 GB, free: 83.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/10.54, allocations: 4.028 MB / 4.122 GB, free: 79.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/10.54, allocations: 345.3 kB / 4.122 GB, free: 78.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/10.54, allocations: 198.2 kB / 4.122 GB, free: 78.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/10.54, allocations: 293.2 kB / 4.123 GB, free: 78.13 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004322/10.54, allocations: 23.72 kB / 4.123 GB, free: 78.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.003e-06/10.54, allocations: 3.938 kB / 4.123 GB, free: 78.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.00179/10.55, allocations: 0.8477 MB / 4.123 GB, free: 77.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/10.55, allocations: 85.11 kB / 4.124 GB, free: 77.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/10.55, allocations: 0.8989 MB / 4.124 GB, free: 76.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/10.55, allocations: 29.7 kB / 4.124 GB, free: 76.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/10.55, allocations: 0.5237 MB / 4.125 GB, free: 75.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/10.55, allocations: 130.2 kB / 4.125 GB, free: 75.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/10.55, allocations: 0 / 4.125 GB, free: 75.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001231/10.55, allocations: 325.9 kB / 4.125 GB, free: 75.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/10.55, allocations: 205 kB / 4.126 GB, free: 75.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/10.55, allocations: 0.5316 MB / 4.126 GB, free: 74.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/10.55, allocations: 306.1 kB / 4.126 GB, free: 74.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/10.55, allocations: 0 / 4.126 GB, free: 74.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001559/10.55, allocations: 0.9879 MB / 4.127 GB, free: 73.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000589/10.55, allocations: 2.221 MB / 4.13 GB, free: 70.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/10.55, allocations: 11.98 kB / 4.13 GB, free: 70.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005068/10.55, allocations: 286.5 kB / 4.13 GB, free: 70.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/10.55, allocations: 75.89 kB / 4.13 GB, free: 70.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/10.55, allocations: 1.221 MB / 4.131 GB, free: 69.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/10.55, allocations: 87.84 kB / 4.131 GB, free: 68.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/10.55, allocations: 39.86 kB / 4.131 GB, free: 68.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/10.55, allocations: 9.25 kB / 4.131 GB, free: 68.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/10.56, allocations: 0.6831 MB / 4.132 GB, free: 68.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/10.56, allocations: 8 kB / 4.132 GB, free: 68.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/10.56, allocations: 227.1 kB / 4.132 GB, free: 67.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/10.56, allocations: 75.83 kB / 4.132 GB, free: 67.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/10.56, allocations: 2.986 MB / 4.135 GB, free: 64.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/10.56, allocations: 87.81 kB / 4.135 GB, free: 64.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/10.56, allocations: 27.98 kB / 4.135 GB, free: 64.68 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.000193/10.56, allocations: 126.5 kB / 4.135 GB, free: 64.55 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009791/10.56, allocations: 0.6994 MB / 4.136 GB, free: 63.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/10.56, allocations: 103 kB / 4.136 GB, free: 63.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/10.56, allocations: 0.7573 MB / 4.137 GB, free: 62.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/10.56, allocations: 15.94 kB / 4.137 GB, free: 62.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/10.56, allocations: 0 / 4.137 GB, free: 62.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/10.56, allocations: 4 kB / 4.137 GB, free: 62.95 MB / 0.948 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.002428/10.57, allocations: 2.038 MB / 4.139 GB, free: 60.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/10.57, allocations: 4 kB / 4.139 GB, free: 60.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/10.57, allocations: 56.16 kB / 4.139 GB, free: 60.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000326/10.57, allocations: 190.1 kB / 4.139 GB, free: 60.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/10.57, allocations: 12 kB / 4.139 GB, free: 60.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007514/10.57, allocations: 0.9584 MB / 4.14 GB, free: 59.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/10.57, allocations: 4 kB / 4.14 GB, free: 59.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009529/10.57, allocations: 0.9253 MB / 4.141 GB, free: 58.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/10.57, allocations: 231.7 kB / 4.141 GB, free: 58.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/10.57, allocations: 4 kB / 4.141 GB, free: 58.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/10.57, allocations: 79.7 kB / 4.141 GB, free: 58.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/10.57, allocations: 35.89 kB / 4.141 GB, free: 58.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/10.57, allocations: 16 kB / 4.141 GB, free: 58.15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007287/10.57, allocations: 0.6986 MB / 4.142 GB, free: 57.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.57, allocations: 0 / 4.142 GB, free: 57.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001806/10.57, allocations: 0.5619 MB / 4.143 GB, free: 56.88 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002413/10.57, allocations: 3.08 MB / 4.146 GB, free: 53.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002149/10.58, allocations: 1.226 MB / 4.147 GB, free: 52.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/10.58, allocations: 0 / 4.147 GB, free: 52.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/10.58, allocations: 292.1 kB / 4.147 GB, free: 52.15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/10.58, allocations: 0.5882 MB / 4.148 GB, free: 51.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/10.58, allocations: 1.714 MB / 4.149 GB, free: 49.78 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/10.58, allocations: 1.242 MB / 4.151 GB, free: 48.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001707/10.58, allocations: 0.7221 MB / 4.151 GB, free: 47.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/10.58, allocations: 331.3 kB / 4.152 GB, free: 47.46 MB / 0.948 GB Notification: Performance of SimCode: time 7.42e-07/10.58, allocations: 3.938 kB / 4.152 GB, free: 47.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/10.64, allocations: 36.88 MB / 4.188 GB, free: 10.71 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/10.65, allocations: 182.7 kB / 4.188 GB, free: 10.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.49/14.14, allocations: 8.031 kB / 4.188 GB, free: 10.51 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)