Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001254/0.001254, allocations: 184.3 kB / 361.4 MB, free: 6.82 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.904/1.904, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009462/0.0009461, allocations: 96.92 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.613e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.807/0.807, allocations: 115.3 MB / 0.9645 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.969/5.776, allocations: 2.066 GB / 3.03 GB, free: 94.97 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/5.776, allocations: 91.89 kB / 3.03 GB, free: 94.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.275/12.05, allocations: 1.78 GB / 4.81 GB, free: 162.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.523e-06/12.05, allocations: 0 / 4.81 GB, free: 162.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001518/12.05, allocations: 31.98 kB / 4.81 GB, free: 162.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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002608/12.05, allocations: 1.142 MB / 4.812 GB, free: 161.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/12.05, allocations: 12.03 kB / 4.812 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/12.06, allocations: 187.6 kB / 4.812 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/12.06, allocations: 1.093 MB / 4.813 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/12.06, allocations: 19.94 kB / 4.813 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/12.06, allocations: 40 kB / 4.813 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007607/12.06, allocations: 470.3 kB / 4.813 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/12.06, allocations: 0.6696 MB / 4.814 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/12.06, allocations: 11.94 kB / 4.814 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/12.06, allocations: 0 / 4.814 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/12.06, allocations: 19.98 kB / 4.814 GB, free: 158.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 preOpt removeSimpleEquations (simulation): time 0.004186/12.06, allocations: 4.458 MB / 4.818 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/12.06, allocations: 442.2 kB / 4.819 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/12.06, allocations: 233.6 kB / 4.819 GB, free: 153.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/12.07, allocations: 206.2 kB / 4.819 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/12.07, allocations: 262.6 kB / 4.819 GB, free: 152.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.414e-06/12.07, allocations: 3.938 kB / 4.819 GB, free: 152.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001914/12.07, allocations: 0.7599 MB / 4.82 GB, free: 152 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/12.07, allocations: 81.11 kB / 4.82 GB, free: 151.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/12.07, allocations: 0.8521 MB / 4.821 GB, free: 151 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/12.07, allocations: 29.7 kB / 4.821 GB, free: 151 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/12.07, allocations: 488.8 kB / 4.822 GB, free: 150.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/12.07, allocations: 106.7 kB / 4.822 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/12.07, allocations: 0 / 4.822 GB, free: 150.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/12.07, allocations: 333.9 kB / 4.822 GB, free: 150 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/12.07, allocations: 176.8 kB / 4.822 GB, free: 149.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/12.07, allocations: 0.492 MB / 4.823 GB, free: 149.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/12.07, allocations: 253.4 kB / 4.823 GB, free: 149 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/12.07, allocations: 4 kB / 4.823 GB, free: 149 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001705/12.07, allocations: 0.8985 MB / 4.824 GB, free: 148.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008834/12.07, allocations: 2.131 MB / 4.826 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/12.07, allocations: 7.984 kB / 4.826 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004612/12.07, allocations: 221.2 kB / 4.826 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/12.07, allocations: 63.91 kB / 4.826 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/12.08, allocations: 1.105 MB / 4.827 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/12.08, allocations: 87.59 kB / 4.827 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/12.08, allocations: 31.98 kB / 4.827 GB, free: 144.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/12.08, allocations: 0 / 4.827 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/12.08, allocations: 0.5859 MB / 4.828 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/12.08, allocations: 8 kB / 4.828 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/12.08, allocations: 198.5 kB / 4.828 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/12.08, allocations: 63.84 kB / 4.828 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/12.08, allocations: 2.972 MB / 4.831 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/12.08, allocations: 75.69 kB / 4.831 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/12.08, allocations: 27.98 kB / 4.831 GB, free: 140.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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.0002548/12.08, allocations: 127.7 kB / 4.831 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001113/12.08, allocations: 0.6058 MB / 4.832 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/12.08, allocations: 94.88 kB / 4.832 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/12.09, allocations: 0.6552 MB / 4.833 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.954e-06/12.09, allocations: 4 kB / 4.833 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/12.09, allocations: 0 / 4.833 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/12.09, allocations: 0 / 4.833 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/12.09, allocations: 1.471 MB / 4.834 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/12.09, allocations: 4.031 kB / 4.834 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/12.09, allocations: 27.92 kB / 4.834 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/12.09, allocations: 184.6 kB / 4.834 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/12.09, allocations: 8 kB / 4.834 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008615/12.09, allocations: 0.9937 MB / 4.835 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/12.09, allocations: 3.938 kB / 4.835 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/12.09, allocations: 0.8513 MB / 4.836 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/12.09, allocations: 203.9 kB / 4.836 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/12.09, allocations: 7.984 kB / 4.836 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007846/12.09, allocations: 63.73 kB / 4.836 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/12.09, allocations: 31.89 kB / 4.836 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/12.09, allocations: 8 kB / 4.836 GB, free: 134.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008413/12.09, allocations: 0.6691 MB / 4.837 GB, free: 133.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/12.09, allocations: 0 / 4.837 GB, free: 133.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001828/12.1, allocations: 491.4 kB / 4.838 GB, free: 133.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/12.1, allocations: 2.774 MB / 4.84 GB, free: 130.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001621/12.1, allocations: 0.9813 MB / 4.841 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/12.1, allocations: 0 / 4.841 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/12.1, allocations: 203.6 kB / 4.841 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/12.1, allocations: 397 kB / 4.842 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/12.1, allocations: 1.611 MB / 4.843 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/12.11, allocations: 1.202 MB / 4.845 GB, free: 126.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001654/12.11, allocations: 0.6432 MB / 4.845 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/12.11, allocations: 299.3 kB / 4.845 GB, free: 125.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/12.11, allocations: 0 / 4.845 GB, free: 125.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06032/12.17, allocations: 32.51 MB / 4.877 GB, free: 92.81 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000294/12.17, allocations: 200 kB / 4.877 GB, free: 92.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/15.35, allocations: 4 kB / 4.877 GB, free: 92.54 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)