Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.699/2.699, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001539/0.001539, allocations: 185.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001187, allocations: 108.9 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004748, allocations: 13.03 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.697/6.925, allocations: 2.066 GB / 3.044 GB, free: 193.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/6.925, allocations: 95.95 kB / 3.045 GB, free: 193.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.847/16.77, allocations: 1.993 GB / 5.038 GB, free: 22.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.805e-06/16.77, allocations: 0 / 5.038 GB, free: 22.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002238/16.77, allocations: 31.98 kB / 5.038 GB, free: 22.79 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.00903/16.78, allocations: 1.582 MB / 5.039 GB, free: 21.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/16.78, allocations: 8.031 kB / 5.039 GB, free: 21.14 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005336/16.78, allocations: 102.5 kB / 5.039 GB, free: 21.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/16.78, allocations: 198.3 kB / 5.039 GB, free: 20.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006767/16.79, allocations: 1.465 MB / 5.041 GB, free: 19.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.345e-05/16.79, allocations: 41.31 kB / 5.041 GB, free: 19.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/16.79, allocations: 71.95 kB / 5.041 GB, free: 19.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/16.79, allocations: 0.957 MB / 5.042 GB, free: 18.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/16.79, allocations: 0 / 5.042 GB, free: 18.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/16.79, allocations: 27.98 kB / 5.042 GB, free: 18.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/16.79, allocations: 16 kB / 5.042 GB, free: 18.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/16.8, allocations: 0.7531 MB / 5.043 GB, free: 17.37 MB / 0.948 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.006451/16.8, allocations: 4.709 MB / 5.047 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/16.8, allocations: 4.012 MB / 5.051 GB, free: 7.496 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004297/16.81, allocations: 198.2 kB / 5.051 GB, free: 7.266 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008149/16.81, allocations: 325.1 kB / 5.052 GB, free: 6.93 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000696/16.81, allocations: 35.59 kB / 5.052 GB, free: 6.895 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.156e-06/16.81, allocations: 3.938 kB / 5.052 GB, free: 6.891 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.006578/16.81, allocations: 1.407 MB / 5.053 GB, free: 5.453 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/16.81, allocations: 89.03 kB / 5.053 GB, free: 5.348 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/16.82, allocations: 1.046 MB / 5.054 GB, free: 4.289 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/16.82, allocations: 41.7 kB / 5.054 GB, free: 4.242 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/16.82, allocations: 0.5166 MB / 5.055 GB, free: 3.719 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/16.82, allocations: 122.2 kB / 5.055 GB, free: 3.598 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/16.82, allocations: 12 kB / 5.055 GB, free: 3.586 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/16.82, allocations: 333.9 kB / 5.055 GB, free: 3.254 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/16.82, allocations: 205 kB / 5.055 GB, free: 3.055 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/16.82, allocations: 0.5561 MB / 5.056 GB, free: 2.348 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/16.82, allocations: 324.8 kB / 5.056 GB, free: 2.027 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.455e-06/16.82, allocations: 4 kB / 5.056 GB, free: 2.023 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002748/16.82, allocations: 1.001 MB / 5.057 GB, free: 1.004 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.6738/17.5, allocations: 2.227 MB / 5.059 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/17.5, allocations: 6.25 kB / 5.059 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/17.5, allocations: 272.3 kB / 5.06 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/17.5, allocations: 80.69 kB / 5.06 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/17.5, allocations: 1.042 MB / 5.061 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/17.5, allocations: 97.77 kB / 5.061 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/17.5, allocations: 27.91 kB / 5.061 GB, free: 241.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/17.5, allocations: 3.938 kB / 5.061 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002632/17.5, allocations: 0.8176 MB / 5.062 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/17.5, allocations: 8.469 kB / 5.062 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/17.51, allocations: 259.9 kB / 5.062 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/17.51, allocations: 82.77 kB / 5.062 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/17.51, allocations: 3.13 MB / 5.065 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/17.51, allocations: 103.9 kB / 5.065 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/17.51, allocations: 23.88 kB / 5.065 GB, free: 239.7 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 () * 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.001022/17.52, allocations: 477.3 kB / 5.066 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/17.52, allocations: 111.2 kB / 5.066 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/17.52, allocations: 0.8274 MB / 5.067 GB, free: 239.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/17.52, allocations: 4.219 kB / 5.067 GB, free: 239.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/17.52, allocations: 1.188 kB / 5.067 GB, free: 239.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/17.52, allocations: 1.875 kB / 5.067 GB, free: 239.5 MB / 0.948 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.005542/17.52, allocations: 2.191 MB / 5.069 GB, free: 238.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/17.52, allocations: 1.906 kB / 5.069 GB, free: 238.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/17.52, allocations: 53.14 kB / 5.069 GB, free: 238.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009108/17.53, allocations: 218.3 kB / 5.069 GB, free: 238.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/17.53, allocations: 9.219 kB / 5.069 GB, free: 238.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/17.53, allocations: 0.8774 MB / 5.07 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/17.53, allocations: 7.516 kB / 5.07 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/17.53, allocations: 0.9907 MB / 5.071 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/17.53, allocations: 234.9 kB / 5.071 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/17.53, allocations: 10.2 kB / 5.071 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/17.53, allocations: 86.92 kB / 5.071 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/17.53, allocations: 29.89 kB / 5.071 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/17.53, allocations: 19.38 kB / 5.071 GB, free: 237.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002038/17.53, allocations: 0.8336 MB / 5.072 GB, free: 237.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/17.53, allocations: 0 / 5.072 GB, free: 237.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003117/17.54, allocations: 0.6151 MB / 5.073 GB, free: 237.5 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) * 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.004654/17.54, allocations: 2.996 MB / 5.076 GB, free: 235.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003506/17.55, allocations: 1.164 MB / 5.077 GB, free: 235.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/17.55, allocations: 1.031 kB / 5.077 GB, free: 235.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/17.55, allocations: 266 kB / 5.077 GB, free: 235.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006185/17.55, allocations: 0.6509 MB / 5.078 GB, free: 235.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/17.57, allocations: 10.48 MB / 5.088 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/17.57, allocations: 1.24 MB / 5.089 GB, free: 229.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002117/17.57, allocations: 376.4 kB / 5.089 GB, free: 229.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/17.58, allocations: 356.2 kB / 5.09 GB, free: 229.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.233e-06/17.58, allocations: 5.125 kB / 5.09 GB, free: 229.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/17.7, allocations: 48.51 MB / 5.137 GB, free: 228.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/17.7, allocations: 287.1 kB / 5.137 GB, free: 228 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.405/22.1, allocations: 0 / 5.137 GB, free: 228 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)