Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.482/1.482, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001657/0.001657, allocations: 178.1 kB / 321.3 MB, free: 14.66 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.754/1.754, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008967/0.0008967, allocations: 90.52 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.129e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2393, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.504/6.743, allocations: 2.182 GB / 3.074 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/6.743, allocations: 83.52 kB / 3.074 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.807/14.55, allocations: 1.911 GB / 4.985 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.754e-06/14.55, allocations: 0 / 4.985 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002245/14.55, allocations: 35.06 kB / 4.985 GB, free: 207.4 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005139/14.56, allocations: 1.281 MB / 4.986 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/14.56, allocations: 11 kB / 4.987 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004463/14.56, allocations: 97.77 kB / 4.987 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/14.56, allocations: 203.8 kB / 4.987 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/14.56, allocations: 1.431 MB / 4.988 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/14.56, allocations: 47.25 kB / 4.988 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/14.56, allocations: 69.77 kB / 4.988 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/14.56, allocations: 0.9294 MB / 4.989 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/14.56, allocations: 3.938 kB / 4.989 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/14.56, allocations: 23.91 kB / 4.989 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/14.56, allocations: 12.41 kB / 4.989 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/14.57, allocations: 0.7074 MB / 4.99 GB, free: 204.5 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.005121/14.57, allocations: 4.729 MB / 4.995 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/14.57, allocations: 4.028 MB / 4.998 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/14.57, allocations: 328.2 kB / 4.999 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/14.57, allocations: 191.1 kB / 4.999 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/14.57, allocations: 304.6 kB / 4.999 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006074/14.57, allocations: 36.19 kB / 4.999 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.426e-06/14.57, allocations: 0 / 4.999 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001553/14.58, allocations: 0.7248 MB / 5 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/14.58, allocations: 79.98 kB / 5 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/14.58, allocations: 1.028 MB / 5.001 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/14.58, allocations: 37.58 kB / 5.001 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/14.58, allocations: 0.52 MB / 5.002 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/14.58, allocations: 124.4 kB / 5.002 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/14.58, allocations: 7.844 kB / 5.002 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/14.58, allocations: 329.5 kB / 5.002 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/14.58, allocations: 189 kB / 5.002 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/14.58, allocations: 0.5359 MB / 5.003 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/14.58, allocations: 313.5 kB / 5.003 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/14.58, allocations: 3.188 kB / 5.003 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001466/14.58, allocations: 0.9278 MB / 5.004 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005245/14.58, allocations: 2.224 MB / 5.006 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/14.58, allocations: 6.812 kB / 5.006 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005368/14.58, allocations: 239.8 kB / 5.006 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/14.58, allocations: 83.64 kB / 5.006 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008699/14.58, allocations: 0.9931 MB / 5.007 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/14.58, allocations: 102.8 kB / 5.008 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/14.58, allocations: 31.89 kB / 5.008 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/14.58, allocations: 5.406 kB / 5.008 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/14.59, allocations: 0.7368 MB / 5.008 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/14.59, allocations: 15.33 kB / 5.008 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/14.59, allocations: 222.8 kB / 5.009 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/14.59, allocations: 83.95 kB / 5.009 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/14.59, allocations: 2.884 MB / 5.011 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/14.59, allocations: 109.5 kB / 5.012 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/14.59, allocations: 23.59 kB / 5.012 GB, free: 186 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002131/14.59, allocations: 148.8 kB / 5.012 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/14.59, allocations: 103.9 kB / 5.012 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/14.59, allocations: 0.7406 MB / 5.013 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/14.59, allocations: 6.625 kB / 5.013 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/14.59, allocations: 4 kB / 5.013 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/14.59, allocations: 3.984 kB / 5.013 GB, free: 185.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.003134/14.6, allocations: 2.121 MB / 5.015 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/14.6, allocations: 7.953 kB / 5.015 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/14.6, allocations: 51.91 kB / 5.015 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/14.6, allocations: 178.9 kB / 5.015 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/14.6, allocations: 8 kB / 5.015 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000581/14.6, allocations: 0.841 MB / 5.016 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/14.6, allocations: 4.031 kB / 5.016 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/14.6, allocations: 0.9293 MB / 5.017 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006263/14.6, allocations: 243.6 kB / 5.017 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/14.6, allocations: 8 kB / 5.017 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009297/14.6, allocations: 83.69 kB / 5.017 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/14.6, allocations: 27.95 kB / 5.017 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/14.6, allocations: 20 kB / 5.017 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001177/14.6, allocations: 0.8065 MB / 5.018 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/14.6, allocations: 0 / 5.018 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002322/14.6, allocations: 0.605 MB / 5.018 GB, free: 179.3 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003079/14.61, allocations: 2.906 MB / 5.021 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001915/14.61, allocations: 1.094 MB / 5.022 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/14.61, allocations: 0 / 5.022 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/14.61, allocations: 235.6 kB / 5.022 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/14.61, allocations: 0.648 MB / 5.023 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/14.62, allocations: 1.775 MB / 5.025 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/14.62, allocations: 1.242 MB / 5.026 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00224/14.62, allocations: 0.8156 MB / 5.027 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/14.62, allocations: 335.3 kB / 5.027 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.134e-06/14.62, allocations: 0 / 5.027 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0885/14.71, allocations: 51.59 MB / 5.078 GB, free: 119 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/14.71, allocations: 270.7 kB / 5.078 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.653/18.36, allocations: 0 / 5.078 GB, free: 118.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)