Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.686/2.686, allocations: 287.5 MB / 303.2 MB, free: 8.324 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.00138/0.00138, allocations: 186.5 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009564/0.0009558, allocations: 93.11 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.000497, allocations: 16.19 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2148, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.291/6.505, allocations: 2.063 GB / 3.043 GB, free: 241.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004049/6.506, allocations: 99.94 kB / 3.043 GB, free: 241.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9/15.51, allocations: 1.784 GB / 4.827 GB, free: 264.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.255e-06/15.51, allocations: 3.781 kB / 4.827 GB, free: 264.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001386/15.51, allocations: 33.72 kB / 4.827 GB, free: 264.5 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.003928/15.51, allocations: 1.41 MB / 4.829 GB, free: 263.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/15.51, allocations: 11.5 kB / 4.829 GB, free: 263.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/15.51, allocations: 178 kB / 4.829 GB, free: 263.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/15.51, allocations: 1.128 MB / 4.83 GB, free: 263.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/15.51, allocations: 50.03 kB / 4.83 GB, free: 263.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/15.51, allocations: 61.44 kB / 4.83 GB, free: 263.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/15.52, allocations: 0.7686 MB / 4.831 GB, free: 262.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/15.52, allocations: 14.25 kB / 4.831 GB, free: 262.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/15.52, allocations: 19.31 kB / 4.831 GB, free: 262.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/15.52, allocations: 14.03 kB / 4.831 GB, free: 262.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/15.52, allocations: 0.5172 MB / 4.831 GB, free: 262.5 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.005096/15.52, allocations: 4.595 MB / 4.836 GB, free: 258.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/15.52, allocations: 420.5 kB / 4.836 GB, free: 258.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/15.52, allocations: 250.2 kB / 4.836 GB, free: 258.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003556/15.52, allocations: 194.3 kB / 4.837 GB, free: 258.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006327/15.53, allocations: 292.3 kB / 4.837 GB, free: 258.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.936e-06/15.53, allocations: 3.281 kB / 4.837 GB, free: 258.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002045/15.53, allocations: 0.6415 MB / 4.838 GB, free: 258 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/15.53, allocations: 86.7 kB / 4.838 GB, free: 257.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/15.53, allocations: 1.108 MB / 4.839 GB, free: 257.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.326e-05/15.53, allocations: 38.73 kB / 4.839 GB, free: 257.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/15.53, allocations: 489.2 kB / 4.839 GB, free: 257 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/15.53, allocations: 111.4 kB / 4.839 GB, free: 256.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/15.53, allocations: 11.56 kB / 4.839 GB, free: 256.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/15.53, allocations: 325.9 kB / 4.84 GB, free: 256.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/15.53, allocations: 183.7 kB / 4.84 GB, free: 256.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/15.53, allocations: 0.5079 MB / 4.84 GB, free: 256 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/15.53, allocations: 0.5965 MB / 4.841 GB, free: 255.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/15.53, allocations: 6.344 kB / 4.841 GB, free: 255.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001657/15.53, allocations: 0.6835 MB / 4.842 GB, free: 255.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/15.53, allocations: 278.6 kB / 4.842 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/15.53, allocations: 7.469 kB / 4.842 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/15.53, allocations: 7.125 kB / 4.842 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/15.53, allocations: 114.5 kB / 4.842 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/15.53, allocations: 11.53 kB / 4.842 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/15.54, allocations: 105 kB / 4.842 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/15.54, allocations: 22.94 kB / 4.842 GB, free: 254.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/15.54, allocations: 5.312 kB / 4.842 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001268/15.54, allocations: 0.5312 MB / 4.843 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/15.54, allocations: 11.66 kB / 4.843 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/15.54, allocations: 5.938 kB / 4.843 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/15.54, allocations: 112.6 kB / 4.843 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/15.54, allocations: 15.55 kB / 4.843 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/15.54, allocations: 91.53 kB / 4.843 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/15.54, allocations: 28.34 kB / 4.843 GB, free: 254.4 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.0007364/15.54, allocations: 471.1 kB / 4.843 GB, free: 254.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/15.54, allocations: 100.8 kB / 4.843 GB, free: 254.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/15.54, allocations: 0.4999 MB / 4.844 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/15.54, allocations: 3.531 kB / 4.844 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/15.54, allocations: 0 / 4.844 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/15.54, allocations: 3.938 kB / 4.844 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/15.54, allocations: 1.401 MB / 4.845 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/15.54, allocations: 0 / 4.845 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/15.55, allocations: 65.23 kB / 4.845 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/15.55, allocations: 3.125 kB / 4.845 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/15.55, allocations: 10.69 kB / 4.845 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/15.55, allocations: 3.812 kB / 4.845 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/15.55, allocations: 3.375 kB / 4.845 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/15.55, allocations: 0.6089 MB / 4.846 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/15.55, allocations: 217 kB / 4.846 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/15.55, allocations: 12.44 kB / 4.846 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/15.55, allocations: 53.98 kB / 4.846 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/15.55, allocations: 34.89 kB / 4.846 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/15.55, allocations: 13.44 kB / 4.846 GB, free: 252.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001345/15.55, allocations: 0.7833 MB / 4.847 GB, free: 251.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.493e-06/15.55, allocations: 0 / 4.847 GB, free: 251.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001829/15.55, allocations: 480.6 kB / 4.848 GB, free: 251.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.001518/15.55, allocations: 0.9008 MB / 4.848 GB, free: 251.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001942/15.55, allocations: 0.8029 MB / 4.849 GB, free: 250.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/15.55, allocations: 0 / 4.849 GB, free: 250.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/15.56, allocations: 210 kB / 4.849 GB, free: 250.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/15.56, allocations: 453.2 kB / 4.85 GB, free: 250.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/15.56, allocations: 1.966 MB / 4.852 GB, free: 249.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007432/15.56, allocations: 1.18 MB / 4.853 GB, free: 248.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001967/15.57, allocations: 418.9 kB / 4.853 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/15.57, allocations: 75.86 kB / 4.853 GB, free: 248.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/15.57, allocations: 0 / 4.853 GB, free: 248.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06083/15.63, allocations: 26.76 MB / 4.879 GB, free: 227.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)