Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001189/0.001189, allocations: 168.9 kB / 361.4 MB, free: 6.82 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.833/1.833, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0009491/0.000949, allocations: 92.44 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.98e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7622, allocations: 115.3 MB / 0.9645 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.308/6.07, allocations: 2.066 GB / 3.03 GB, free: 95.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/6.07, allocations: 90.06 kB / 3.03 GB, free: 95.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.2/10.27, allocations: 1.069 GB / 4.099 GB, free: 138.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.023e-06/10.27, allocations: 384 / 4.099 GB, free: 138.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001944/10.27, allocations: 39.97 kB / 4.099 GB, free: 138.9 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.004818/10.28, allocations: 1.274 MB / 4.1 GB, free: 137.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/10.28, allocations: 8.031 kB / 4.1 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/10.28, allocations: 195.5 kB / 4.101 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/10.28, allocations: 1.453 MB / 4.102 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/10.28, allocations: 20 kB / 4.102 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/10.28, allocations: 40 kB / 4.102 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/10.28, allocations: 0.7013 MB / 4.103 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/10.28, allocations: 0.8454 MB / 4.104 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/10.28, allocations: 4 kB / 4.104 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/10.28, allocations: 3.984 kB / 4.104 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/10.28, allocations: 16 kB / 4.104 GB, free: 134.1 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.004494/10.29, allocations: 4.583 MB / 4.108 GB, free: 129.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/10.29, allocations: 4.022 MB / 4.112 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/10.29, allocations: 340.7 kB / 4.112 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/10.29, allocations: 194.2 kB / 4.113 GB, free: 123.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/10.29, allocations: 300.8 kB / 4.113 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005131/10.29, allocations: 15.78 kB / 4.113 GB, free: 123.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.186e-06/10.29, allocations: 0 / 4.113 GB, free: 123.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001895/10.29, allocations: 0.8555 MB / 4.114 GB, free: 122.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/10.29, allocations: 85.11 kB / 4.114 GB, free: 122.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/10.3, allocations: 0.9028 MB / 4.115 GB, free: 121.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/10.3, allocations: 29.7 kB / 4.115 GB, free: 121.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/10.3, allocations: 0.5199 MB / 4.115 GB, free: 121.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-05/10.3, allocations: 126.2 kB / 4.115 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/10.3, allocations: 0 / 4.115 GB, free: 120.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/10.3, allocations: 322 kB / 4.116 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/10.3, allocations: 209 kB / 4.116 GB, free: 120.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/10.3, allocations: 0.5355 MB / 4.116 GB, free: 119.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/10.3, allocations: 302 kB / 4.117 GB, free: 119.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/10.3, allocations: 4 kB / 4.117 GB, free: 119.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001702/10.3, allocations: 0.9884 MB / 4.118 GB, free: 118.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000511/10.3, allocations: 2.22 MB / 4.12 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/10.3, allocations: 4 kB / 4.12 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/10.3, allocations: 281.7 kB / 4.12 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/10.3, allocations: 71.89 kB / 4.12 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/10.3, allocations: 1.226 MB / 4.121 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/10.3, allocations: 91.73 kB / 4.121 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/10.3, allocations: 31.98 kB / 4.121 GB, free: 114.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/10.3, allocations: 4.625 kB / 4.121 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/10.3, allocations: 0.6916 MB / 4.122 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/10.3, allocations: 4 kB / 4.122 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/10.3, allocations: 220.7 kB / 4.122 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/10.3, allocations: 83.78 kB / 4.122 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/10.31, allocations: 2.986 MB / 4.125 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/10.31, allocations: 91.77 kB / 4.125 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/10.31, allocations: 31.92 kB / 4.125 GB, free: 110.1 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.0002009/10.31, allocations: 127.5 kB / 4.126 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001082/10.31, allocations: 0.6956 MB / 4.126 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/10.31, allocations: 106.7 kB / 4.126 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/10.31, allocations: 0.7496 MB / 4.127 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/10.31, allocations: 4 kB / 4.127 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/10.31, allocations: 4 kB / 4.127 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/10.31, allocations: 3.953 kB / 4.127 GB, free: 108.4 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.002762/10.31, allocations: 2.038 MB / 4.129 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/10.31, allocations: 4 kB / 4.129 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/10.32, allocations: 55.91 kB / 4.129 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003187/10.32, allocations: 188.9 kB / 4.129 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/10.32, allocations: 12 kB / 4.129 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007679/10.32, allocations: 0.9496 MB / 4.13 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/10.32, allocations: 7.953 kB / 4.13 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/10.32, allocations: 0.9364 MB / 4.131 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/10.32, allocations: 227.7 kB / 4.131 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/10.32, allocations: 4 kB / 4.131 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/10.32, allocations: 79.75 kB / 4.131 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/10.32, allocations: 35.84 kB / 4.131 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/10.32, allocations: 16 kB / 4.131 GB, free: 103.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009124/10.32, allocations: 0.6986 MB / 4.132 GB, free: 102.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.32, allocations: 0 / 4.132 GB, free: 102.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00219/10.32, allocations: 0.5775 MB / 4.133 GB, free: 102.3 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.002954/10.33, allocations: 3.078 MB / 4.136 GB, free: 99.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002527/10.33, allocations: 1.225 MB / 4.137 GB, free: 97.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/10.33, allocations: 0 / 4.137 GB, free: 97.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004906/10.33, allocations: 292.9 kB / 4.137 GB, free: 97.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/10.33, allocations: 0.5796 MB / 4.138 GB, free: 96.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/10.34, allocations: 1.706 MB / 4.139 GB, free: 95.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/10.34, allocations: 1.238 MB / 4.141 GB, free: 93.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002206/10.34, allocations: 0.7298 MB / 4.141 GB, free: 93.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/10.34, allocations: 335.3 kB / 4.142 GB, free: 92.88 MB / 0.948 GB Notification: Performance of SimCode: time 1.253e-06/10.34, allocations: 0 / 4.142 GB, free: 92.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06473/10.4, allocations: 36.9 MB / 4.178 GB, free: 56.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/10.4, allocations: 199.1 kB / 4.178 GB, free: 55.84 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/13.69, allocations: 0 / 4.178 GB, free: 55.84 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)