Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.555/1.555, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009952/0.0009953, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001097/0.001097, allocations: 94.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.692e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2442, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.304/6.549, allocations: 2.184 GB / 3.076 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/6.549, allocations: 91.94 kB / 3.076 GB, free: 185 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.042/13.59, allocations: 1.921 GB / 4.998 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/13.59, allocations: 0 / 4.998 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001143/13.59, allocations: 34.36 kB / 4.998 GB, free: 208.5 MB / 0.8698 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.003855/13.6, allocations: 1.269 MB / 4.999 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/13.6, allocations: 9.219 kB / 4.999 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/13.6, allocations: 105.9 kB / 4.999 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/13.6, allocations: 200.9 kB / 4.999 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/13.6, allocations: 1.448 MB / 5.001 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/13.6, allocations: 51.77 kB / 5.001 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/13.6, allocations: 63.97 kB / 5.001 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/13.6, allocations: 0.9227 MB / 5.002 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/13.6, allocations: 11.53 kB / 5.002 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/13.6, allocations: 22.84 kB / 5.002 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/13.6, allocations: 13.97 kB / 5.002 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/13.6, allocations: 0.703 MB / 5.002 GB, free: 206.3 MB / 0.8698 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.00385/13.61, allocations: 4.707 MB / 5.007 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/13.61, allocations: 3.97 MB / 5.011 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/13.61, allocations: 328.3 kB / 5.011 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/13.61, allocations: 191.8 kB / 5.011 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/13.61, allocations: 311.8 kB / 5.012 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004254/13.61, allocations: 33.73 kB / 5.012 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/13.61, allocations: 0 / 5.012 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001325/13.61, allocations: 0.7546 MB / 5.013 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/13.61, allocations: 81.02 kB / 5.013 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/13.61, allocations: 1.035 MB / 5.014 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/13.61, allocations: 34.86 kB / 5.014 GB, free: 197 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/13.61, allocations: 0.5225 MB / 5.014 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/13.61, allocations: 126.8 kB / 5.014 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/13.61, allocations: 11.72 kB / 5.014 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.744e-05/13.61, allocations: 331.5 kB / 5.015 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/13.61, allocations: 188.4 kB / 5.015 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/13.61, allocations: 0.5328 MB / 5.015 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/13.61, allocations: 316 kB / 5.016 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/13.61, allocations: 6.469 kB / 5.016 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001255/13.61, allocations: 0.9538 MB / 5.017 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004693/13.62, allocations: 2.222 MB / 5.019 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/13.62, allocations: 10.62 kB / 5.019 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/13.62, allocations: 270.6 kB / 5.019 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/13.62, allocations: 74.47 kB / 5.019 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000863/13.62, allocations: 1.039 MB / 5.02 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/13.62, allocations: 104.3 kB / 5.02 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/13.62, allocations: 32.28 kB / 5.02 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/13.62, allocations: 3.844 kB / 5.02 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/13.62, allocations: 0.7664 MB / 5.021 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/13.62, allocations: 10.97 kB / 5.021 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/13.62, allocations: 256 kB / 5.021 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/13.62, allocations: 71.25 kB / 5.021 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/13.62, allocations: 3.071 MB / 5.024 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009985/13.62, allocations: 101.7 kB / 5.024 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/13.62, allocations: 30.91 kB / 5.024 GB, free: 189.8 MB / 0.8698 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001889/13.62, allocations: 140 kB / 5.025 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/13.62, allocations: 113.3 kB / 5.025 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/13.63, allocations: 0.7723 MB / 5.025 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/13.63, allocations: 7.828 kB / 5.025 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/13.63, allocations: 0 / 5.025 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/13.63, allocations: 7.031 kB / 5.025 GB, free: 189.3 MB / 0.8698 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.002664/13.63, allocations: 2.16 MB / 5.028 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/13.63, allocations: 0 / 5.028 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/13.63, allocations: 56.2 kB / 5.028 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/13.63, allocations: 204.2 kB / 5.028 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/13.63, allocations: 15.48 kB / 5.028 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005856/13.63, allocations: 0.8787 MB / 5.029 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/13.63, allocations: 3.844 kB / 5.029 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009999/13.63, allocations: 0.9478 MB / 5.03 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/13.63, allocations: 243.8 kB / 5.03 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/13.63, allocations: 15.7 kB / 5.03 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/13.63, allocations: 81.02 kB / 5.03 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/13.63, allocations: 33.16 kB / 5.03 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/13.63, allocations: 11.53 kB / 5.03 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00104/13.63, allocations: 0.8181 MB / 5.031 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/13.63, allocations: 0 / 5.031 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002017/13.64, allocations: 0.6114 MB / 5.031 GB, free: 186.2 MB / 0.8698 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002999/13.64, allocations: 2.967 MB / 5.034 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00186/13.64, allocations: 1.126 MB / 5.035 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/13.64, allocations: 3.875 kB / 5.035 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/13.64, allocations: 242 kB / 5.036 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/13.64, allocations: 0.6507 MB / 5.036 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/13.65, allocations: 1.759 MB / 5.038 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/13.65, allocations: 1.244 MB / 5.039 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002139/13.65, allocations: 0.7998 MB / 5.04 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/13.65, allocations: 337.3 kB / 5.04 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/13.65, allocations: 0 / 5.04 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07494/13.73, allocations: 52.88 MB / 5.092 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/13.73, allocations: 260.6 kB / 5.092 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/17.28, allocations: 2.656 kB / 5.092 GB, free: 134.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)