Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001204/0.001204, allocations: 180.8 kB / 371.6 MB, free: 3.371 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.571/1.571, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001199/0.0012, allocations: 88.69 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.876e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2742, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.364/6.638, allocations: 2.065 GB / 3.044 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/6.639, allocations: 94.12 kB / 3.045 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.337/14.98, allocations: 1.981 GB / 5.026 GB, free: 194.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/14.98, allocations: 0 / 5.026 GB, free: 194.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001368/14.98, allocations: 32.5 kB / 5.026 GB, free: 194.7 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004384/14.98, allocations: 1.277 MB / 5.027 GB, free: 194.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/14.98, allocations: 12.03 kB / 5.027 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002502/14.98, allocations: 103 kB / 5.027 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/14.98, allocations: 197.4 kB / 5.027 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/14.99, allocations: 1.427 MB / 5.029 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/14.99, allocations: 48.12 kB / 5.029 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/14.99, allocations: 67.59 kB / 5.029 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/14.99, allocations: 0.924 MB / 5.03 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/14.99, allocations: 2.906 kB / 5.03 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/14.99, allocations: 23.36 kB / 5.03 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/14.99, allocations: 15.38 kB / 5.03 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009269/14.99, allocations: 0.7025 MB / 5.03 GB, free: 193.6 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.004539/14.99, allocations: 4.733 MB / 5.035 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/14.99, allocations: 4.026 MB / 5.039 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/15, allocations: 332.7 kB / 5.039 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/15, allocations: 195.9 kB / 5.039 GB, free: 186.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/15, allocations: 301.3 kB / 5.04 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006051/15, allocations: 31.58 kB / 5.04 GB, free: 186 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 4.208e-06/15, allocations: 0 / 5.04 GB, free: 186 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001303/15, allocations: 0.727 MB / 5.04 GB, free: 185.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/15, allocations: 83.39 kB / 5.04 GB, free: 185.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/15, allocations: 1.029 MB / 5.041 GB, free: 185.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/15, allocations: 36.48 kB / 5.041 GB, free: 185.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/15, allocations: 0.521 MB / 5.042 GB, free: 185.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/15, allocations: 124.9 kB / 5.042 GB, free: 185.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/15, allocations: 8.812 kB / 5.042 GB, free: 185.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/15, allocations: 334.3 kB / 5.042 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/15, allocations: 186.5 kB / 5.043 GB, free: 185.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/15, allocations: 0.5268 MB / 5.043 GB, free: 184.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/15, allocations: 306.2 kB / 5.043 GB, free: 184.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/15, allocations: 3.25 kB / 5.043 GB, free: 184.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001271/15, allocations: 0.9336 MB / 5.044 GB, free: 184.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004556/15, allocations: 2.222 MB / 5.047 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/15, allocations: 8.969 kB / 5.047 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/15, allocations: 248 kB / 5.047 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/15, allocations: 76.66 kB / 5.047 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000848/15, allocations: 0.9968 MB / 5.048 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/15.01, allocations: 103.9 kB / 5.048 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/15.01, allocations: 29.09 kB / 5.048 GB, free: 181.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/15.01, allocations: 7.516 kB / 5.048 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/15.01, allocations: 0.734 MB / 5.049 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/15.01, allocations: 7.531 kB / 5.049 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/15.01, allocations: 223.8 kB / 5.049 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/15.01, allocations: 81.23 kB / 5.049 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/15.01, allocations: 2.884 MB / 5.052 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/15.01, allocations: 104.9 kB / 5.052 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/15.01, allocations: 22.66 kB / 5.052 GB, free: 180.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 (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.0002278/15.01, allocations: 140.7 kB / 5.052 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/15.01, allocations: 106.6 kB / 5.052 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/15.01, allocations: 0.764 MB / 5.053 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/15.01, allocations: 2.938 kB / 5.053 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/15.01, allocations: 2.844 kB / 5.053 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/15.01, allocations: 3.422 kB / 5.053 GB, free: 180 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.002789/15.02, allocations: 2.11 MB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/15.02, allocations: 3.25 kB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/15.02, allocations: 54.67 kB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/15.02, allocations: 176.1 kB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/15.02, allocations: 9.688 kB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005885/15.02, allocations: 0.8564 MB / 5.056 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/15.02, allocations: 3.312 kB / 5.056 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/15.02, allocations: 0.923 MB / 5.057 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/15.02, allocations: 234.8 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/15.02, allocations: 7.844 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/15.02, allocations: 80.38 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/15.02, allocations: 38.16 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/15.02, allocations: 17.09 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001018/15.02, allocations: 0.8185 MB / 5.058 GB, free: 178 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/15.02, allocations: 0 / 5.058 GB, free: 178 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001987/15.02, allocations: 0.5965 MB / 5.059 GB, free: 177.9 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 (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.002842/15.03, allocations: 2.899 MB / 5.061 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00188/15.03, allocations: 1.11 MB / 5.063 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/15.03, allocations: 0 / 5.063 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/15.03, allocations: 231.1 kB / 5.063 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/15.03, allocations: 0.6436 MB / 5.063 GB, free: 176 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/15.04, allocations: 1.774 MB / 5.065 GB, free: 175.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/15.04, allocations: 1.24 MB / 5.066 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002093/15.04, allocations: 0.8146 MB / 5.067 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/15.04, allocations: 336 kB / 5.067 GB, free: 174.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.274e-06/15.04, allocations: 0 / 5.067 GB, free: 174.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/15.15, allocations: 51.58 MB / 5.118 GB, free: 172.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/15.15, allocations: 247.7 kB / 5.118 GB, free: 172.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.984/19.14, allocations: 7.094 kB / 5.118 GB, free: 172.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)