Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.09/2.09, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 188.2 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.314/2.314, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009706/0.0009702, allocations: 87.61 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004612, allocations: 12.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2041, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.367/6.571, allocations: 2.182 GB / 3.081 GB, free: 3.965 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/6.572, allocations: 99.73 kB / 3.081 GB, free: 3.91 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.626/15.2, allocations: 1.721 GB / 4.803 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.384e-06/15.2, allocations: 0 / 4.803 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001444/15.2, allocations: 27.98 kB / 4.803 GB, free: 3.23 MB / 0.8855 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.004426/15.2, allocations: 1.419 MB / 4.804 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/15.2, allocations: 12.03 kB / 4.804 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/15.2, allocations: 187.4 kB / 4.804 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003837/15.21, allocations: 1.094 MB / 4.805 GB, free: 416 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/15.21, allocations: 45.38 kB / 4.805 GB, free: 368 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/15.21, allocations: 60.38 kB / 4.805 GB, free: 308 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6409/15.85, allocations: 0.7643 MB / 4.806 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/15.85, allocations: 3.812 kB / 4.806 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/15.85, allocations: 22.91 kB / 4.806 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/15.85, allocations: 14.34 kB / 4.806 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/15.85, allocations: 0.5181 MB / 4.807 GB, free: 274.8 MB / 0.8855 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.006006/15.86, allocations: 4.589 MB / 4.811 GB, free: 271.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/15.86, allocations: 425.2 kB / 4.812 GB, free: 271.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/15.86, allocations: 243.1 kB / 4.812 GB, free: 271.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/15.86, allocations: 198.4 kB / 4.812 GB, free: 271.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007811/15.86, allocations: 297.2 kB / 4.812 GB, free: 271.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.935e-06/15.86, allocations: 0 / 4.812 GB, free: 271.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.002423/15.86, allocations: 0.6436 MB / 4.813 GB, free: 271.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/15.86, allocations: 82.52 kB / 4.813 GB, free: 271 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/15.87, allocations: 1.105 MB / 4.814 GB, free: 270.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/15.87, allocations: 36.12 kB / 4.814 GB, free: 270.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/15.87, allocations: 498.3 kB / 4.815 GB, free: 270.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/15.87, allocations: 111.9 kB / 4.815 GB, free: 270.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/15.87, allocations: 10.22 kB / 4.815 GB, free: 270.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/15.87, allocations: 326.8 kB / 4.815 GB, free: 270.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/15.87, allocations: 181.4 kB / 4.815 GB, free: 270.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009706/15.87, allocations: 0.5078 MB / 4.816 GB, free: 270 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008314/15.87, allocations: 295.4 kB / 4.816 GB, free: 269.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/15.87, allocations: 5.25 kB / 4.816 GB, free: 269.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002278/15.87, allocations: 0.6783 MB / 4.817 GB, free: 269.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/15.87, allocations: 275.8 kB / 4.817 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/15.87, allocations: 6 kB / 4.817 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/15.87, allocations: 8.938 kB / 4.817 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/15.87, allocations: 118.5 kB / 4.817 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/15.87, allocations: 14.05 kB / 4.817 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/15.87, allocations: 108.2 kB / 4.817 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/15.87, allocations: 26.44 kB / 4.817 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/15.87, allocations: 4.625 kB / 4.817 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/15.88, allocations: 0.5421 MB / 4.818 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/15.88, allocations: 5.688 kB / 4.818 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/15.88, allocations: 7.75 kB / 4.818 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/15.88, allocations: 108.4 kB / 4.818 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/15.88, allocations: 13.56 kB / 4.818 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/15.88, allocations: 97.84 kB / 4.818 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/15.88, allocations: 28.81 kB / 4.818 GB, free: 269.5 MB / 0.8855 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.0009824/15.88, allocations: 472 kB / 4.818 GB, free: 269.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/15.88, allocations: 98.34 kB / 4.818 GB, free: 269.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/15.88, allocations: 0.492 MB / 4.819 GB, free: 269.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/15.88, allocations: 3.844 kB / 4.819 GB, free: 269.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/15.88, allocations: 4.375 kB / 4.819 GB, free: 269.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/15.88, allocations: 3.25 kB / 4.819 GB, free: 269.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/15.88, allocations: 1.394 MB / 4.82 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/15.88, allocations: 2.219 kB / 4.82 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/15.89, allocations: 69.61 kB / 4.82 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/15.89, allocations: 6.5 kB / 4.82 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/15.89, allocations: 13.38 kB / 4.82 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/15.89, allocations: 2.969 kB / 4.82 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/15.89, allocations: 8.141 kB / 4.82 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/15.89, allocations: 0.6064 MB / 4.821 GB, free: 268.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/15.89, allocations: 214.4 kB / 4.821 GB, free: 268.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/15.89, allocations: 15.64 kB / 4.821 GB, free: 268.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009359/15.89, allocations: 49.77 kB / 4.821 GB, free: 268.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/15.89, allocations: 36.53 kB / 4.821 GB, free: 268.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/15.89, allocations: 12.67 kB / 4.821 GB, free: 268.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001659/15.89, allocations: 0.7792 MB / 4.822 GB, free: 268.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.2e-07/15.89, allocations: 0 / 4.822 GB, free: 268.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002343/15.89, allocations: 481.8 kB / 4.822 GB, free: 268.2 MB / 0.8855 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.002004/15.89, allocations: 0.9044 MB / 4.823 GB, free: 268 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002451/15.9, allocations: 0.8191 MB / 4.824 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/15.9, allocations: 0 / 4.824 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/15.9, allocations: 206.6 kB / 4.824 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004033/15.9, allocations: 453.5 kB / 4.825 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/15.91, allocations: 1.957 MB / 4.827 GB, free: 267 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/15.91, allocations: 1.178 MB / 4.828 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002109/15.91, allocations: 427.6 kB / 4.828 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/15.91, allocations: 72.36 kB / 4.828 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.633e-06/15.91, allocations: 3.812 kB / 4.828 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.06459/15.97, allocations: 26.75 MB / 4.854 GB, free: 265.9 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)