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.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001058/0.001058, allocations: 180.9 kB / 361.4 MB, free: 6.816 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.77/1.77, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0009416/0.000941, allocations: 88.86 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.308e-05, allocations: 4 kB / 0.8517 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7911, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.414/6.205, allocations: 2.063 GB / 3.027 GB, free: 52.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/6.206, allocations: 96.09 kB / 3.027 GB, free: 52.65 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.228/12.43, allocations: 1.769 GB / 4.796 GB, free: 141.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/12.43, allocations: 4 kB / 4.796 GB, free: 141.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000108/12.43, allocations: 31.92 kB / 4.796 GB, free: 141.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.001884/12.44, allocations: 1.13 MB / 4.797 GB, free: 139.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/12.44, allocations: 12.03 kB / 4.797 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007505/12.44, allocations: 191.3 kB / 4.797 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/12.44, allocations: 1.077 MB / 4.798 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/12.44, allocations: 16 kB / 4.798 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/12.44, allocations: 39.98 kB / 4.798 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000659/12.44, allocations: 470.3 kB / 4.799 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/12.44, allocations: 0.6813 MB / 4.799 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/12.44, allocations: 7.922 kB / 4.799 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/12.44, allocations: 4 kB / 4.799 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/12.44, allocations: 12 kB / 4.799 GB, free: 137.2 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.002894/12.44, allocations: 4.469 MB / 4.804 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/12.44, allocations: 442.8 kB / 4.804 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/12.44, allocations: 245.1 kB / 4.804 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/12.44, allocations: 194.2 kB / 4.805 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/12.44, allocations: 262.4 kB / 4.805 GB, free: 131.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/12.44, allocations: 0 / 4.805 GB, free: 131.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0008057/12.45, allocations: 491.9 kB / 4.805 GB, free: 130.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/12.45, allocations: 81.11 kB / 4.805 GB, free: 130.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/12.45, allocations: 0.8518 MB / 4.806 GB, free: 129.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/12.45, allocations: 33.7 kB / 4.806 GB, free: 129.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/12.45, allocations: 488.8 kB / 4.807 GB, free: 129.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/12.45, allocations: 102.6 kB / 4.807 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/12.45, allocations: 0 / 4.807 GB, free: 129.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/12.45, allocations: 326 kB / 4.807 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/12.45, allocations: 176.8 kB / 4.807 GB, free: 128.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/12.45, allocations: 495.9 kB / 4.808 GB, free: 128 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/12.45, allocations: 267.8 kB / 4.808 GB, free: 127.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/12.45, allocations: 4 kB / 4.808 GB, free: 127.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006743/12.45, allocations: 0.6176 MB / 4.809 GB, free: 127.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003657/12.45, allocations: 2.13 MB / 4.811 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/12.45, allocations: 8 kB / 4.811 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/12.45, allocations: 8 kB / 4.811 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/12.45, allocations: 107.8 kB / 4.811 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/12.45, allocations: 11.94 kB / 4.811 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/12.45, allocations: 95.45 kB / 4.811 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/12.45, allocations: 24 kB / 4.811 GB, free: 124.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/12.45, allocations: 5.094 kB / 4.811 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004774/12.45, allocations: 419.8 kB / 4.811 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/12.45, allocations: 8 kB / 4.811 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/12.45, allocations: 8 kB / 4.811 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/12.45, allocations: 111.8 kB / 4.811 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/12.45, allocations: 7.984 kB / 4.811 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/12.45, allocations: 83.67 kB / 4.812 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/12.45, allocations: 24 kB / 4.812 GB, free: 123.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.0001002/12.45, allocations: 128.8 kB / 4.812 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/12.45, allocations: 94.88 kB / 4.812 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/12.45, allocations: 434.8 kB / 4.812 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/12.45, allocations: 7.938 kB / 4.812 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/12.45, allocations: 4.172 kB / 4.812 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/12.45, allocations: 0 / 4.812 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/12.45, allocations: 1.264 MB / 4.813 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/12.45, allocations: 8.203 kB / 4.813 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/12.45, allocations: 67.89 kB / 4.814 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/12.45, allocations: 4 kB / 4.814 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/12.45, allocations: 8 kB / 4.814 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/12.45, allocations: 7.938 kB / 4.814 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/12.45, allocations: 3.953 kB / 4.814 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/12.45, allocations: 0.6349 MB / 4.814 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/12.45, allocations: 215.7 kB / 4.814 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/12.45, allocations: 15.89 kB / 4.814 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/12.45, allocations: 47.94 kB / 4.814 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/12.45, allocations: 23.97 kB / 4.814 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/12.45, allocations: 12 kB / 4.814 GB, free: 120.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006363/12.46, allocations: 0.6689 MB / 4.815 GB, free: 120.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/12.46, allocations: 0 / 4.815 GB, free: 120.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001247/12.46, allocations: 447.3 kB / 4.816 GB, free: 119.7 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.001326/12.46, allocations: 1.029 MB / 4.817 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008906/12.46, allocations: 0.7537 MB / 4.817 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/12.46, allocations: 4 kB / 4.817 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/12.46, allocations: 175.8 kB / 4.817 GB, free: 117.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/12.46, allocations: 396.7 kB / 4.818 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/12.46, allocations: 1.317 MB / 4.819 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/12.46, allocations: 1.206 MB / 4.82 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001641/12.47, allocations: 0.7562 MB / 4.821 GB, free: 114 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/12.47, allocations: 47.44 kB / 4.821 GB, free: 113.9 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/12.47, allocations: 0 / 4.821 GB, free: 113.9 MB / 0.948 GB Notification: Performance of Templates: time 0.02794/12.49, allocations: 19.86 MB / 4.841 GB, free: 94.18 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)