Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.853/1.853, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001088/0.001088, allocations: 172.9 kB / 361.4 MB, free: 6.832 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.785/1.785, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.001005/0.001005, allocations: 97.28 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.346e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7718/0.7718, allocations: 115.3 MB / 0.9645 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.473/6.245, allocations: 2.066 GB / 3.03 GB, free: 49.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/6.245, allocations: 90.62 kB / 3.03 GB, free: 49.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.783/14.03, allocations: 1.971 GB / 5.001 GB, free: 256.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.787e-06/14.03, allocations: 0 / 5.001 GB, free: 256.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002398/14.03, allocations: 37.02 kB / 5.001 GB, free: 256.6 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.005601/14.03, allocations: 1.274 MB / 5.002 GB, free: 256 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/14.03, allocations: 11.47 kB / 5.002 GB, free: 256 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/14.04, allocations: 202.1 kB / 5.002 GB, free: 255.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/14.04, allocations: 1.454 MB / 5.004 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/14.04, allocations: 18.11 kB / 5.004 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/14.04, allocations: 42.03 kB / 5.004 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001197/14.04, allocations: 0.6968 MB / 5.005 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/14.04, allocations: 0.8508 MB / 5.005 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/14.04, allocations: 4.875 kB / 5.005 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/14.04, allocations: 3.938 kB / 5.005 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/14.04, allocations: 11.44 kB / 5.005 GB, free: 255.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 preOpt removeSimpleEquations (simulation): time 0.004771/14.05, allocations: 4.572 MB / 5.01 GB, free: 252.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/14.05, allocations: 4.025 MB / 5.014 GB, free: 248.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/14.05, allocations: 342.9 kB / 5.014 GB, free: 248.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/14.05, allocations: 195.5 kB / 5.014 GB, free: 247.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/14.05, allocations: 293.6 kB / 5.015 GB, free: 247.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005278/14.05, allocations: 12.66 kB / 5.015 GB, free: 247.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 4.889e-06/14.05, allocations: 3.031 kB / 5.015 GB, free: 247.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001913/14.05, allocations: 0.8468 MB / 5.016 GB, free: 247.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/14.05, allocations: 95.12 kB / 5.016 GB, free: 247.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/14.06, allocations: 0.8996 MB / 5.016 GB, free: 247.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/14.06, allocations: 29.05 kB / 5.017 GB, free: 247.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/14.06, allocations: 0.5267 MB / 5.017 GB, free: 247.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/14.06, allocations: 118.8 kB / 5.017 GB, free: 247.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/14.06, allocations: 0 / 5.017 GB, free: 247.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/14.06, allocations: 328.9 kB / 5.017 GB, free: 246.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/14.06, allocations: 206.9 kB / 5.018 GB, free: 246.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/14.06, allocations: 0.5341 MB / 5.018 GB, free: 246.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/14.06, allocations: 299.2 kB / 5.018 GB, free: 246.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/14.06, allocations: 0 / 5.018 GB, free: 246.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001675/14.06, allocations: 0.9809 MB / 5.019 GB, free: 246.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004398/14.06, allocations: 2.219 MB / 5.022 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/14.06, allocations: 7.406 kB / 5.022 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/14.06, allocations: 257.7 kB / 5.022 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/14.06, allocations: 77.53 kB / 5.022 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/14.06, allocations: 1.166 MB / 5.023 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/14.06, allocations: 88.83 kB / 5.023 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/14.06, allocations: 30.31 kB / 5.023 GB, free: 243.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/14.06, allocations: 8.641 kB / 5.023 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/14.06, allocations: 0.6708 MB / 5.024 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/14.06, allocations: 7.594 kB / 5.024 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/14.06, allocations: 231.9 kB / 5.024 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/14.06, allocations: 73.44 kB / 5.024 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/14.07, allocations: 2.954 MB / 5.027 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/14.07, allocations: 91.66 kB / 5.027 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/14.07, allocations: 26.02 kB / 5.027 GB, free: 242.2 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/14.07, allocations: 134.6 kB / 5.027 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001188/14.07, allocations: 0.6982 MB / 5.028 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/14.07, allocations: 100.8 kB / 5.028 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/14.07, allocations: 0.7428 MB / 5.029 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/14.07, allocations: 3.094 kB / 5.029 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/14.07, allocations: 2.844 kB / 5.029 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/14.07, allocations: 10.09 kB / 5.029 GB, free: 241.8 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.002949/14.08, allocations: 2.044 MB / 5.031 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/14.08, allocations: 3.938 kB / 5.031 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/14.08, allocations: 48.03 kB / 5.031 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/14.08, allocations: 164 kB / 5.031 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/14.08, allocations: 7.75 kB / 5.031 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006939/14.08, allocations: 0.8983 MB / 5.032 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-05/14.08, allocations: 3.75 kB / 5.032 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/14.08, allocations: 0.9292 MB / 5.033 GB, free: 240.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/14.08, allocations: 230.4 kB / 5.033 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/14.08, allocations: 11.77 kB / 5.033 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/14.08, allocations: 75.48 kB / 5.033 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/14.08, allocations: 31.06 kB / 5.033 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/14.08, allocations: 15.84 kB / 5.033 GB, free: 240 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009434/14.08, allocations: 0.7007 MB / 5.034 GB, free: 239.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/14.08, allocations: 3.688 kB / 5.034 GB, free: 239.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002208/14.08, allocations: 0.5667 MB / 5.034 GB, free: 239.8 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003042/14.09, allocations: 3.074 MB / 5.037 GB, free: 238.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001816/14.09, allocations: 1.091 MB / 5.038 GB, free: 237.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/14.09, allocations: 5.156 kB / 5.038 GB, free: 237.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003647/14.09, allocations: 222.2 kB / 5.039 GB, free: 237.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/14.09, allocations: 0.5889 MB / 5.039 GB, free: 237.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/14.1, allocations: 1.713 MB / 5.041 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/14.1, allocations: 1.234 MB / 5.042 GB, free: 236.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002309/14.1, allocations: 0.7332 MB / 5.043 GB, free: 236.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/14.1, allocations: 327.3 kB / 5.043 GB, free: 236 MB / 0.948 GB Notification: Performance of SimCode: time 1.793e-06/14.1, allocations: 0 / 5.043 GB, free: 236 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/14.17, allocations: 37.15 MB / 5.079 GB, free: 220 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/14.17, allocations: 217.5 kB / 5.08 GB, free: 219.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/17.31, allocations: 6.531 kB / 5.08 GB, free: 219.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)