Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.723/1.723, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001186/0.001186, allocations: 187.6 kB / 377.1 MB, free: 1.543 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.801/1.801, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.001027/0.001027, allocations: 95.03 kB / 0.7509 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2798, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.443/5.723, allocations: 2.065 GB / 3.053 GB, free: 156.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/5.724, allocations: 91.95 kB / 3.053 GB, free: 156.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.949/9.672, allocations: 1.072 GB / 4.125 GB, free: 170.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.641e-06/9.672, allocations: 3.984 kB / 4.125 GB, free: 170.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002636/9.673, allocations: 30.77 kB / 4.125 GB, free: 170 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.01/9.683, allocations: 1.573 MB / 4.127 GB, free: 168.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.071e-05/9.683, allocations: 7.844 kB / 4.127 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005755/9.683, allocations: 105.2 kB / 4.127 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/9.685, allocations: 200.7 kB / 4.127 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007789/9.693, allocations: 1.443 MB / 4.129 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/9.693, allocations: 45.69 kB / 4.129 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/9.694, allocations: 68 kB / 4.129 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/9.696, allocations: 0.9566 MB / 4.13 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/9.696, allocations: 0 / 4.13 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/9.696, allocations: 25.03 kB / 4.13 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/9.697, allocations: 12 kB / 4.13 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/9.699, allocations: 0.7609 MB / 4.13 GB, free: 165.8 MB / 0.948 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.009053/9.708, allocations: 4.739 MB / 4.135 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/9.711, allocations: 4.06 MB / 4.139 GB, free: 155.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004583/9.711, allocations: 194.2 kB / 4.139 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/9.712, allocations: 323.2 kB / 4.14 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007846/9.713, allocations: 39.69 kB / 4.14 GB, free: 155.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 5.631e-06/9.713, allocations: 0 / 4.14 GB, free: 155.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.006165/9.719, allocations: 1.306 MB / 4.141 GB, free: 153.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/9.719, allocations: 93 kB / 4.141 GB, free: 153.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/9.722, allocations: 1.038 MB / 4.142 GB, free: 152.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/9.722, allocations: 41.7 kB / 4.142 GB, free: 152.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/9.723, allocations: 0.5127 MB / 4.142 GB, free: 152.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/9.723, allocations: 126.3 kB / 4.143 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/9.723, allocations: 8 kB / 4.143 GB, free: 152.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/9.723, allocations: 326 kB / 4.143 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/9.724, allocations: 213 kB / 4.143 GB, free: 151.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/9.725, allocations: 0.5521 MB / 4.144 GB, free: 150.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/9.726, allocations: 324.2 kB / 4.144 GB, free: 150.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/9.726, allocations: 3.938 kB / 4.144 GB, free: 150.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002995/9.729, allocations: 0.982 MB / 4.145 GB, free: 149.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007906/9.73, allocations: 2.225 MB / 4.147 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/9.73, allocations: 7.938 kB / 4.147 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/9.731, allocations: 289.6 kB / 4.147 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/9.731, allocations: 87.75 kB / 4.147 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/9.734, allocations: 1.659 MB / 4.149 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/9.736, allocations: 103.8 kB / 4.149 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/9.737, allocations: 27.98 kB / 4.149 GB, free: 144.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/9.737, allocations: 4.812 kB / 4.149 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002571/9.739, allocations: 0.7984 MB / 4.15 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/9.739, allocations: 11.94 kB / 4.15 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/9.74, allocations: 210.9 kB / 4.15 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/9.741, allocations: 87.98 kB / 4.15 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/9.747, allocations: 2.96 MB / 4.153 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/9.749, allocations: 99.8 kB / 4.153 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/9.749, allocations: 24 kB / 4.153 GB, free: 140.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.001054/9.75, allocations: 486.8 kB / 4.154 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/9.75, allocations: 106.7 kB / 4.154 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/9.753, allocations: 0.8006 MB / 4.155 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/9.753, allocations: 4 kB / 4.155 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/9.753, allocations: 0 / 4.155 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/9.753, allocations: 0 / 4.155 GB, free: 139.2 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.005303/9.758, allocations: 2.154 MB / 4.157 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/9.758, allocations: 8 kB / 4.157 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/9.759, allocations: 64.14 kB / 4.157 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007247/9.759, allocations: 201.7 kB / 4.157 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/9.76, allocations: 15.98 kB / 4.157 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/9.761, allocations: 1.466 MB / 4.158 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/9.761, allocations: 3.938 kB / 4.158 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/9.763, allocations: 0.9701 MB / 4.159 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/9.764, allocations: 235.7 kB / 4.16 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004477/9.765, allocations: 15.92 kB / 4.16 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/9.766, allocations: 75.77 kB / 4.16 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/9.766, allocations: 35.95 kB / 4.16 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/9.766, allocations: 15.98 kB / 4.16 GB, free: 133.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00178/9.768, allocations: 0.8248 MB / 4.161 GB, free: 132.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/9.768, allocations: 0 / 4.161 GB, free: 132.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003155/9.771, allocations: 0.6011 MB / 4.161 GB, free: 132.2 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004314/9.776, allocations: 2.94 MB / 4.164 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004426/9.78, allocations: 1.276 MB / 4.165 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/9.78, allocations: 0 / 4.165 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/9.781, allocations: 320.2 kB / 4.166 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006026/9.787, allocations: 0.6474 MB / 4.166 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/9.811, allocations: 10.56 MB / 4.177 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/9.812, allocations: 1.233 MB / 4.178 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002539/9.815, allocations: 392.5 kB / 4.178 GB, free: 114.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006266/9.815, allocations: 359.3 kB / 4.178 GB, free: 114 MB / 0.948 GB Notification: Performance of SimCode: time 2.084e-06/9.815, allocations: 4 kB / 4.178 GB, free: 114 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/9.927, allocations: 47.18 MB / 4.225 GB, free: 67.04 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/9.927, allocations: 268.5 kB / 4.225 GB, free: 66.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/13.32, allocations: 0 / 4.225 GB, free: 66.68 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)