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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 293 MB / 309 MB, free: 4.812 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.001224/0.001224, allocations: 180.3 kB / 378.7 MB, free: 1.02 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.804/1.804, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0008002/0.0008003, allocations: 96.53 kB / 0.7527 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004031, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/5.509, allocations: 2.065 GB / 3.055 GB, free: 152.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/5.509, allocations: 92.47 kB / 3.055 GB, free: 152.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.241/11.75, allocations: 1.784 GB / 4.84 GB, free: 170.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.076e-06/11.75, allocations: 0 / 4.84 GB, free: 170.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001652/11.75, allocations: 39.17 kB / 4.84 GB, free: 170.1 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.00365/11.75, allocations: 1.407 MB / 4.841 GB, free: 169.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/11.75, allocations: 11.53 kB / 4.841 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/11.76, allocations: 188.1 kB / 4.841 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/11.76, allocations: 1.133 MB / 4.842 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/11.76, allocations: 46.89 kB / 4.842 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/11.76, allocations: 59.38 kB / 4.842 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/11.76, allocations: 0.7726 MB / 4.843 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/11.76, allocations: 7.875 kB / 4.843 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/11.76, allocations: 22.09 kB / 4.843 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/11.76, allocations: 15.41 kB / 4.843 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/11.76, allocations: 0.5126 MB / 4.844 GB, free: 167.3 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.004196/11.77, allocations: 4.592 MB / 4.848 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/11.77, allocations: 427.1 kB / 4.849 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/11.77, allocations: 237.6 kB / 4.849 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/11.77, allocations: 200.3 kB / 4.849 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/11.77, allocations: 286.4 kB / 4.849 GB, free: 162.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/11.77, allocations: 224 / 4.849 GB, free: 162.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001265/11.77, allocations: 0.6451 MB / 4.85 GB, free: 162 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/11.77, allocations: 92.95 kB / 4.85 GB, free: 161.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/11.77, allocations: 1.105 MB / 4.851 GB, free: 161.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/11.77, allocations: 37.58 kB / 4.851 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/11.77, allocations: 496 kB / 4.852 GB, free: 160.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/11.77, allocations: 109.6 kB / 4.852 GB, free: 160.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/11.77, allocations: 10.59 kB / 4.852 GB, free: 160.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/11.77, allocations: 324 kB / 4.852 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/11.77, allocations: 192.2 kB / 4.852 GB, free: 160.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/11.77, allocations: 0.5045 MB / 4.853 GB, free: 159.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/11.77, allocations: 0.5885 MB / 4.853 GB, free: 159.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/11.77, allocations: 7.406 kB / 4.853 GB, free: 159.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001052/11.77, allocations: 0.6848 MB / 4.854 GB, free: 158.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/11.77, allocations: 275.1 kB / 4.854 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/11.77, allocations: 4 kB / 4.854 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/11.77, allocations: 8 kB / 4.854 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/11.77, allocations: 115.8 kB / 4.854 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/11.77, allocations: 11.94 kB / 4.854 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/11.77, allocations: 111.4 kB / 4.854 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/11.77, allocations: 24 kB / 4.854 GB, free: 158.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/11.77, allocations: 4.625 kB / 4.854 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007503/11.78, allocations: 0.5384 MB / 4.855 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/11.78, allocations: 7.938 kB / 4.855 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/11.78, allocations: 8.719 kB / 4.855 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/11.78, allocations: 111.9 kB / 4.855 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/11.78, allocations: 15.92 kB / 4.855 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008656/11.78, allocations: 87.62 kB / 4.855 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/11.78, allocations: 27.98 kB / 4.855 GB, free: 157.5 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.0006388/11.78, allocations: 468.7 kB / 4.856 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/11.78, allocations: 110.7 kB / 4.856 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000872/11.78, allocations: 0.4949 MB / 4.856 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/11.78, allocations: 4 kB / 4.856 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/11.78, allocations: 3.938 kB / 4.856 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/11.78, allocations: 8 kB / 4.856 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/11.78, allocations: 1.382 MB / 4.858 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/11.78, allocations: 8 kB / 4.858 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/11.78, allocations: 67.89 kB / 4.858 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/11.78, allocations: 7.938 kB / 4.858 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/11.78, allocations: 8.219 kB / 4.858 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/11.78, allocations: 8 kB / 4.858 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/11.78, allocations: 0 / 4.858 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/11.78, allocations: 0.6073 MB / 4.858 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/11.78, allocations: 227.8 kB / 4.859 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/11.78, allocations: 8 kB / 4.859 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/11.78, allocations: 55.8 kB / 4.859 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/11.78, allocations: 39.83 kB / 4.859 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/11.78, allocations: 8 kB / 4.859 GB, free: 153.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008363/11.78, allocations: 0.7836 MB / 4.859 GB, free: 153.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/11.78, allocations: 0 / 4.859 GB, free: 153.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001359/11.78, allocations: 475.7 kB / 4.86 GB, free: 152.6 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.001258/11.79, allocations: 0.9071 MB / 4.861 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001175/11.79, allocations: 0.8052 MB / 4.862 GB, free: 150.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/11.79, allocations: 0 / 4.862 GB, free: 150.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/11.79, allocations: 207.7 kB / 4.862 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/11.79, allocations: 448.4 kB / 4.862 GB, free: 150.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/11.79, allocations: 1.952 MB / 4.864 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/11.79, allocations: 1.183 MB / 4.865 GB, free: 147 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001167/11.79, allocations: 423.5 kB / 4.866 GB, free: 146.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/11.79, allocations: 75.36 kB / 4.866 GB, free: 146.5 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/11.79, allocations: 0 / 4.866 GB, free: 146.5 MB / 0.948 GB Notification: Performance of Templates: time 0.03887/11.83, allocations: 27.04 MB / 4.892 GB, free: 119.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (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 & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)