Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.951/1.951, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001724/0.001724, allocations: 185 kB / 377.1 MB, free: 1.527 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.89/1.89, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.001011/0.001011, allocations: 91.8 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 11.98 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3165, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.74/6.056, allocations: 2.065 GB / 3.053 GB, free: 117.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/6.056, allocations: 91.58 kB / 3.053 GB, free: 117.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.857/12.91, allocations: 1.789 GB / 4.842 GB, free: 140.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.058e-06/12.91, allocations: 3.938 kB / 4.842 GB, free: 140.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002467/12.91, allocations: 31.98 kB / 4.842 GB, free: 140.3 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005177/12.92, allocations: 1.425 MB / 4.843 GB, free: 138.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.458e-05/12.92, allocations: 8.031 kB / 4.843 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002838/12.92, allocations: 101.9 kB / 4.843 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/12.92, allocations: 190.5 kB / 4.843 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/12.92, allocations: 1.077 MB / 4.844 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/12.92, allocations: 53 kB / 4.844 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/12.92, allocations: 56 kB / 4.844 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/12.92, allocations: 0.7703 MB / 4.845 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/12.92, allocations: 3.938 kB / 4.845 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/12.92, allocations: 24 kB / 4.845 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/12.92, allocations: 12 kB / 4.845 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000875/12.93, allocations: 0.5197 MB / 4.846 GB, free: 135.9 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.004625/12.93, allocations: 4.594 MB / 4.85 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/12.93, allocations: 422.9 kB / 4.851 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/12.93, allocations: 190.2 kB / 4.851 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/12.93, allocations: 293.6 kB / 4.851 GB, free: 129.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/12.93, allocations: 0 / 4.851 GB, free: 129.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001584/12.93, allocations: 0.6507 MB / 4.852 GB, free: 129.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/12.93, allocations: 85.09 kB / 4.852 GB, free: 129.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/12.93, allocations: 0.9834 MB / 4.853 GB, free: 128.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/12.93, allocations: 37.69 kB / 4.853 GB, free: 128.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/12.93, allocations: 489.2 kB / 4.853 GB, free: 127.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/12.93, allocations: 106.5 kB / 4.853 GB, free: 127.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/12.93, allocations: 8 kB / 4.853 GB, free: 127.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/12.94, allocations: 330 kB / 4.854 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/12.94, allocations: 188.7 kB / 4.854 GB, free: 127 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/12.94, allocations: 0.5007 MB / 4.854 GB, free: 126.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/12.94, allocations: 295.3 kB / 4.855 GB, free: 126.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/12.94, allocations: 0 / 4.855 GB, free: 126.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001072/12.94, allocations: 0.6747 MB / 4.855 GB, free: 125.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006556/12.94, allocations: 2.144 MB / 4.857 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/12.94, allocations: 4.219 kB / 4.857 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/12.94, allocations: 12 kB / 4.857 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/12.94, allocations: 115.8 kB / 4.857 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/12.94, allocations: 11.94 kB / 4.858 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/12.94, allocations: 107.4 kB / 4.858 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/12.94, allocations: 24 kB / 4.858 GB, free: 122.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/12.94, allocations: 7.938 kB / 4.858 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007798/12.94, allocations: 0.5482 MB / 4.858 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/12.94, allocations: 8 kB / 4.858 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/12.94, allocations: 8 kB / 4.858 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/12.94, allocations: 103.8 kB / 4.858 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/12.94, allocations: 8.344 kB / 4.858 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/12.94, allocations: 103.5 kB / 4.858 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/12.94, allocations: 23.95 kB / 4.858 GB, free: 122 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006053/12.94, allocations: 468.7 kB / 4.859 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/12.94, allocations: 98.78 kB / 4.859 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/12.94, allocations: 0.4989 MB / 4.859 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/12.94, allocations: 0 / 4.859 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/12.94, allocations: 4 kB / 4.859 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/12.94, allocations: 0 / 4.859 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/12.95, allocations: 1.396 MB / 4.861 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/12.95, allocations: 0 / 4.861 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/12.95, allocations: 67.89 kB / 4.861 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/12.95, allocations: 7.953 kB / 4.861 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/12.95, allocations: 8 kB / 4.861 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/12.95, allocations: 4 kB / 4.861 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/12.95, allocations: 4 kB / 4.861 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/12.95, allocations: 0.7022 MB / 4.862 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/12.95, allocations: 219.8 kB / 4.862 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/12.95, allocations: 8 kB / 4.862 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/12.95, allocations: 55.8 kB / 4.862 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/12.95, allocations: 35.89 kB / 4.862 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/12.95, allocations: 19.94 kB / 4.862 GB, free: 118.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008678/12.95, allocations: 0.7797 MB / 4.863 GB, free: 117.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.71e-07/12.95, allocations: 0 / 4.863 GB, free: 117.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001619/12.95, allocations: 483.6 kB / 4.863 GB, free: 117 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002488/12.95, allocations: 2.516 MB / 4.866 GB, free: 114.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001387/12.95, allocations: 0.7981 MB / 4.866 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/12.95, allocations: 0 / 4.866 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/12.95, allocations: 213.1 kB / 4.867 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/12.96, allocations: 453.7 kB / 4.867 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/12.97, allocations: 9.559 MB / 4.876 GB, free: 103 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/12.97, allocations: 1.193 MB / 4.878 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001415/12.97, allocations: 423.6 kB / 4.878 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/12.97, allocations: 327.3 kB / 4.878 GB, free: 101.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.713e-06/12.97, allocations: 0 / 4.878 GB, free: 101.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0685/13.04, allocations: 39.23 MB / 4.917 GB, free: 62.08 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/13.04, allocations: 241 kB / 4.917 GB, free: 61.84 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/16.52, allocations: 6.188 kB / 4.917 GB, free: 61.83 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)