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: 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.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.00108/0.001081, allocations: 181 kB / 371.6 MB, free: 3.398 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.929/1.929, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001086/0.001086, allocations: 90.02 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.362e-05/4.365e-05, allocations: 8 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.304, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.146/6.45, allocations: 2.064 GB / 3.044 GB, free: 178.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/6.45, allocations: 97.11 kB / 3.044 GB, free: 178.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.659/13.11, allocations: 1.787 GB / 4.831 GB, free: 183.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/13.11, allocations: 0 / 4.831 GB, free: 183.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001033/13.11, allocations: 36.61 kB / 4.831 GB, free: 183.9 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.001782/13.11, allocations: 1.132 MB / 4.832 GB, free: 183 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/13.11, allocations: 11.78 kB / 4.832 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/13.11, allocations: 182.8 kB / 4.833 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/13.11, allocations: 1.083 MB / 4.834 GB, free: 182.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/13.11, allocations: 41.94 kB / 4.834 GB, free: 182.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/13.11, allocations: 63.97 kB / 4.834 GB, free: 182.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/13.11, allocations: 0.7349 MB / 4.834 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/13.11, allocations: 3.938 kB / 4.834 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/13.11, allocations: 23.75 kB / 4.834 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/13.11, allocations: 11.19 kB / 4.834 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/13.12, allocations: 478.2 kB / 4.835 GB, free: 181.4 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.003273/13.12, allocations: 4.605 MB / 4.839 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/13.12, allocations: 388 kB / 4.84 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/13.12, allocations: 219.2 kB / 4.84 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/13.12, allocations: 198.2 kB / 4.84 GB, free: 176.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/13.12, allocations: 275.4 kB / 4.84 GB, free: 176.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.824e-06/13.12, allocations: 0 / 4.84 GB, free: 176.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0008399/13.12, allocations: 464.6 kB / 4.841 GB, free: 176.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/13.12, allocations: 84.97 kB / 4.841 GB, free: 176.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/13.12, allocations: 0.9711 MB / 4.842 GB, free: 175.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/13.12, allocations: 37.27 kB / 4.842 GB, free: 175.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/13.12, allocations: 499.5 kB / 4.842 GB, free: 175.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/13.12, allocations: 106.5 kB / 4.843 GB, free: 175 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/13.12, allocations: 8 kB / 4.843 GB, free: 175 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/13.12, allocations: 324.1 kB / 4.843 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/13.12, allocations: 161.9 kB / 4.843 GB, free: 174.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/13.12, allocations: 499 kB / 4.844 GB, free: 174.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/13.12, allocations: 276.8 kB / 4.844 GB, free: 174 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/13.12, allocations: 0 / 4.844 GB, free: 174 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007636/13.12, allocations: 0.6384 MB / 4.844 GB, free: 173.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005278/13.12, allocations: 2.132 MB / 4.846 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/13.12, allocations: 6.875 kB / 4.846 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/13.12, allocations: 9.438 kB / 4.846 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/13.13, allocations: 121.3 kB / 4.847 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/13.13, allocations: 11.72 kB / 4.847 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008377/13.13, allocations: 109.9 kB / 4.847 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/13.13, allocations: 25.25 kB / 4.847 GB, free: 171.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/13.13, allocations: 3.312 kB / 4.847 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005906/13.13, allocations: 496 kB / 4.847 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/13.13, allocations: 7.922 kB / 4.847 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/13.13, allocations: 10.31 kB / 4.847 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/13.13, allocations: 110.3 kB / 4.847 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/13.13, allocations: 14.53 kB / 4.847 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/13.13, allocations: 98.17 kB / 4.847 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/13.13, allocations: 23.41 kB / 4.847 GB, free: 170.9 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 (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.0001324/13.13, allocations: 144.5 kB / 4.848 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/13.13, allocations: 100.4 kB / 4.848 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007629/13.13, allocations: 467.3 kB / 4.848 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/13.13, allocations: 3.844 kB / 4.848 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/13.13, allocations: 3.938 kB / 4.848 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/13.13, allocations: 3.984 kB / 4.848 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/13.13, allocations: 1.351 MB / 4.849 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/13.13, allocations: 3.969 kB / 4.849 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/13.13, allocations: 68.58 kB / 4.85 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/13.13, allocations: 3.812 kB / 4.85 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/13.13, allocations: 7.094 kB / 4.85 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/13.13, allocations: 3.594 kB / 4.85 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/13.13, allocations: 2.906 kB / 4.85 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/13.13, allocations: 0.6598 MB / 4.85 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/13.13, allocations: 215.8 kB / 4.85 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/13.13, allocations: 7.844 kB / 4.85 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/13.13, allocations: 61.58 kB / 4.85 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/13.13, allocations: 31.62 kB / 4.851 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/13.13, allocations: 18.64 kB / 4.851 GB, free: 168.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008279/13.13, allocations: 0.7647 MB / 4.851 GB, free: 168.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.022e-06/13.13, allocations: 0 / 4.851 GB, free: 168.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001323/13.13, allocations: 488 kB / 4.852 GB, free: 168.2 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 (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.001179/13.14, allocations: 0.9089 MB / 4.853 GB, free: 167.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00101/13.14, allocations: 0.7713 MB / 4.853 GB, free: 167.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/13.14, allocations: 0 / 4.853 GB, free: 167.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/13.14, allocations: 179.9 kB / 4.854 GB, free: 167.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/13.14, allocations: 460.3 kB / 4.854 GB, free: 167 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/13.14, allocations: 1.36 MB / 4.855 GB, free: 166.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/13.14, allocations: 1.202 MB / 4.857 GB, free: 165.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001787/13.14, allocations: 0.8364 MB / 4.857 GB, free: 164.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/13.14, allocations: 51.31 kB / 4.857 GB, free: 164.9 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/13.14, allocations: 0 / 4.857 GB, free: 164.9 MB / 0.948 GB Notification: Performance of Templates: time 0.04099/13.18, allocations: 31.11 MB / 4.888 GB, free: 138.8 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)