Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.001034/0.001034, allocations: 187.9 kB / 373 MB, free: 10.14 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.465/1.465, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.000767/0.0007671, allocations: 89.59 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 12.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2091, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.518/4.728, allocations: 2.064 GB / 3.044 GB, free: 254.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/4.728, allocations: 95.89 kB / 3.044 GB, free: 254.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.759/10.49, allocations: 1.784 GB / 4.829 GB, free: 267.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.484e-06/10.49, allocations: 3.938 kB / 4.829 GB, free: 267.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.951e-05/10.49, allocations: 26.27 kB / 4.829 GB, free: 267.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002484/10.49, allocations: 1.409 MB / 4.83 GB, free: 267 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/10.49, allocations: 14.59 kB / 4.83 GB, free: 267 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007029/10.49, allocations: 181.6 kB / 4.83 GB, free: 266.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/10.49, allocations: 1.132 MB / 4.832 GB, free: 266.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/10.49, allocations: 41.53 kB / 4.832 GB, free: 266.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/10.49, allocations: 65.5 kB / 4.832 GB, free: 266.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/10.49, allocations: 0.7725 MB / 4.832 GB, free: 266 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/10.49, allocations: 11.81 kB / 4.832 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/10.49, allocations: 19.44 kB / 4.832 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/10.49, allocations: 11.47 kB / 4.832 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/10.49, allocations: 0.5172 MB / 4.833 GB, free: 265.8 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.003373/10.5, allocations: 4.594 MB / 4.837 GB, free: 262 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/10.5, allocations: 422.2 kB / 4.838 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/10.5, allocations: 253.1 kB / 4.838 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/10.5, allocations: 192 kB / 4.838 GB, free: 261.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/10.5, allocations: 296 kB / 4.839 GB, free: 261.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/10.5, allocations: 0 / 4.839 GB, free: 261.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001195/10.5, allocations: 0.644 MB / 4.839 GB, free: 261.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/10.5, allocations: 88.58 kB / 4.839 GB, free: 261.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/10.5, allocations: 1.108 MB / 4.84 GB, free: 260.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/10.5, allocations: 41.05 kB / 4.84 GB, free: 260.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/10.5, allocations: 491.8 kB / 4.841 GB, free: 260.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/10.5, allocations: 107.1 kB / 4.841 GB, free: 260.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/10.5, allocations: 11.97 kB / 4.841 GB, free: 260.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.414e-05/10.5, allocations: 321 kB / 4.841 GB, free: 260 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/10.5, allocations: 187.3 kB / 4.841 GB, free: 259.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/10.5, allocations: 0.5085 MB / 4.842 GB, free: 259.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/10.5, allocations: 0.593 MB / 4.843 GB, free: 259.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/10.5, allocations: 0 / 4.843 GB, free: 259.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009112/10.5, allocations: 0.6833 MB / 4.843 GB, free: 258.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/10.5, allocations: 275 kB / 4.843 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/10.5, allocations: 13.78 kB / 4.843 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/10.5, allocations: 7.938 kB / 4.843 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/10.5, allocations: 115.4 kB / 4.844 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/10.5, allocations: 11.81 kB / 4.844 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/10.51, allocations: 110.4 kB / 4.844 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/10.51, allocations: 22.97 kB / 4.844 GB, free: 258.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/10.51, allocations: 3.656 kB / 4.844 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007386/10.51, allocations: 0.5312 MB / 4.844 GB, free: 258.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/10.51, allocations: 11.34 kB / 4.844 GB, free: 258.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/10.51, allocations: 7.719 kB / 4.844 GB, free: 258.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/10.51, allocations: 108.4 kB / 4.844 GB, free: 258.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/10.51, allocations: 19.33 kB / 4.844 GB, free: 258.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/10.51, allocations: 96.89 kB / 4.844 GB, free: 258.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/10.51, allocations: 23.53 kB / 4.844 GB, free: 258.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 () * 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.0004209/10.51, allocations: 468.8 kB / 4.845 GB, free: 258 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/10.51, allocations: 109.5 kB / 4.845 GB, free: 257.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/10.51, allocations: 0.4896 MB / 4.846 GB, free: 257.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/10.51, allocations: 3.906 kB / 4.846 GB, free: 257.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/10.51, allocations: 0 / 4.846 GB, free: 257.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/10.51, allocations: 0 / 4.846 GB, free: 257.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/10.51, allocations: 1.397 MB / 4.847 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/10.51, allocations: 3.969 kB / 4.847 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/10.51, allocations: 68.16 kB / 4.847 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/10.51, allocations: 0 / 4.847 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/10.51, allocations: 11.03 kB / 4.847 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/10.51, allocations: 7.438 kB / 4.847 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/10.51, allocations: 0 / 4.847 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/10.51, allocations: 0.6189 MB / 4.848 GB, free: 256.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/10.51, allocations: 222 kB / 4.848 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/10.51, allocations: 7.906 kB / 4.848 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/10.51, allocations: 59.75 kB / 4.848 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/10.51, allocations: 33.14 kB / 4.848 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/10.51, allocations: 15.5 kB / 4.848 GB, free: 256.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008052/10.51, allocations: 0.7763 MB / 4.849 GB, free: 256.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/10.51, allocations: 3.375 kB / 4.849 GB, free: 256.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001334/10.51, allocations: 483.2 kB / 4.849 GB, free: 256.1 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.001377/10.52, allocations: 0.8914 MB / 4.85 GB, free: 255.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001185/10.52, allocations: 0.8094 MB / 4.851 GB, free: 255.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/10.52, allocations: 0 / 4.851 GB, free: 255.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/10.52, allocations: 211.4 kB / 4.851 GB, free: 255.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/10.52, allocations: 450.7 kB / 4.851 GB, free: 255.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/10.52, allocations: 1.959 MB / 4.853 GB, free: 254 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/10.52, allocations: 1.181 MB / 4.854 GB, free: 253.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001031/10.52, allocations: 424.3 kB / 4.855 GB, free: 252.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/10.52, allocations: 75.84 kB / 4.855 GB, free: 252.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/10.52, allocations: 0 / 4.855 GB, free: 252.9 MB / 0.948 GB Notification: Performance of Templates: time 0.03387/10.56, allocations: 27.03 MB / 4.881 GB, free: 235.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)