Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.9 MB / 266.9 MB, free: 11 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.001218/0.001218, allocations: 183.3 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.918/1.918, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009008/0.0009007, allocations: 86.44 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 9.969 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.835/5.087, allocations: 2.184 GB / 3.085 GB, free: 36.44 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/5.087, allocations: 101.4 kB / 3.085 GB, free: 36.34 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.645/8.733, allocations: 1.044 GB / 4.129 GB, free: 23.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/8.733, allocations: 4 kB / 4.129 GB, free: 23.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001828/8.733, allocations: 35.92 kB / 4.129 GB, free: 23.46 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005813/8.739, allocations: 1.578 MB / 4.13 GB, free: 21.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/8.739, allocations: 16.03 kB / 4.13 GB, free: 21.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003994/8.739, allocations: 98.52 kB / 4.13 GB, free: 21.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/8.741, allocations: 194.4 kB / 4.131 GB, free: 21.51 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/8.745, allocations: 1.461 MB / 4.132 GB, free: 19.99 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/8.745, allocations: 49.31 kB / 4.132 GB, free: 19.95 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/8.746, allocations: 64 kB / 4.132 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/8.747, allocations: 0.9565 MB / 4.133 GB, free: 18.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/8.747, allocations: 0 / 4.133 GB, free: 18.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/8.747, allocations: 28 kB / 4.133 GB, free: 18.82 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/8.747, allocations: 19.98 kB / 4.133 GB, free: 18.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/8.748, allocations: 0.7492 MB / 4.134 GB, free: 18.05 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.004737/8.753, allocations: 4.707 MB / 4.138 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/8.755, allocations: 4.013 MB / 4.142 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/8.755, allocations: 194.1 kB / 4.143 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/8.756, allocations: 334.9 kB / 4.143 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006075/8.756, allocations: 27.75 kB / 4.143 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.677e-06/8.756, allocations: 0 / 4.143 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.00377/8.76, allocations: 1.432 MB / 4.144 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/8.76, allocations: 93.03 kB / 4.144 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/8.762, allocations: 1.046 MB / 4.145 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/8.762, allocations: 33.7 kB / 4.145 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/8.763, allocations: 0.5166 MB / 4.146 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/8.763, allocations: 130.2 kB / 4.146 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/8.763, allocations: 12 kB / 4.146 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/8.763, allocations: 329.9 kB / 4.146 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/8.763, allocations: 216.9 kB / 4.147 GB, free: 3.707 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/8.764, allocations: 0.5522 MB / 4.147 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/8.764, allocations: 335.5 kB / 4.147 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/8.764, allocations: 3.938 kB / 4.147 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001679/8.766, allocations: 0.9978 MB / 4.148 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.5332/9.299, allocations: 2.221 MB / 4.151 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/9.299, allocations: 2.781 kB / 4.151 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008982/9.3, allocations: 337.5 kB / 4.151 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/9.301, allocations: 80 kB / 4.151 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/9.302, allocations: 1.115 MB / 4.152 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/9.303, allocations: 105 kB / 4.152 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/9.304, allocations: 26.7 kB / 4.152 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/9.304, allocations: 5.125 kB / 4.152 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001457/9.305, allocations: 0.8262 MB / 4.153 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/9.305, allocations: 5.656 kB / 4.153 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/9.306, allocations: 251.5 kB / 4.153 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/9.306, allocations: 80.88 kB / 4.153 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/9.31, allocations: 3.157 MB / 4.156 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/9.311, allocations: 99.38 kB / 4.157 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/9.311, allocations: 32.92 kB / 4.157 GB, free: 236 MB / 0.8855 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 (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.0007694/9.312, allocations: 478.1 kB / 4.157 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/9.312, allocations: 107.4 kB / 4.157 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/9.314, allocations: 0.8304 MB / 4.158 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/9.314, allocations: 7.109 kB / 4.158 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/9.314, allocations: 0.7031 kB / 4.158 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/9.314, allocations: 1.875 kB / 4.158 GB, free: 235.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 postOpt removeSimpleEquations (simulation): time 0.00334/9.317, allocations: 2.196 MB / 4.16 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/9.317, allocations: 1.781 kB / 4.16 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/9.317, allocations: 48.92 kB / 4.16 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005534/9.318, allocations: 240 kB / 4.16 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/9.318, allocations: 12.92 kB / 4.16 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/9.319, allocations: 0.9405 MB / 4.161 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/9.319, allocations: 2.281 kB / 4.161 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/9.321, allocations: 0.9995 MB / 4.162 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/9.321, allocations: 240.5 kB / 4.162 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/9.321, allocations: 13.27 kB / 4.163 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007709/9.322, allocations: 80.2 kB / 4.163 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/9.322, allocations: 34.27 kB / 4.163 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/9.322, allocations: 11.53 kB / 4.163 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001506/9.324, allocations: 0.8341 MB / 4.163 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.81e-07/9.324, allocations: 0 / 4.163 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002544/9.326, allocations: 0.6046 MB / 4.164 GB, free: 233.8 MB / 0.8855 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 (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.004236/9.331, allocations: 3.01 MB / 4.167 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003395/9.334, allocations: 1.3 MB / 4.168 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/9.334, allocations: 2.125 kB / 4.168 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008622/9.335, allocations: 321.5 kB / 4.169 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/9.34, allocations: 0.6547 MB / 4.169 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/9.356, allocations: 10.61 MB / 4.18 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009484/9.357, allocations: 1.232 MB / 4.181 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001523/9.359, allocations: 379.4 kB / 4.181 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/9.359, allocations: 356 kB / 4.181 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.343e-06/9.359, allocations: 3.781 kB / 4.181 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08568/9.445, allocations: 48.17 MB / 4.229 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/9.445, allocations: 283.7 kB / 4.229 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.489/12.93, allocations: 0 / 4.229 GB, free: 224.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)