Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.664/1.664, allocations: 297.8 MB / 313.7 MB, free: 96 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009827/0.0009825, allocations: 183 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.2 MB / 0.6626 GB, free: 4.281 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 97.62 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004472, allocations: 15.98 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8821/0.8826, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.781/5.664, allocations: 1.861 GB / 2.887 GB, free: 299.8 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/5.664, allocations: 99.59 kB / 2.887 GB, free: 299.8 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.075/8.739, allocations: 0.9662 GB / 3.854 GB, free: 146.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.647e-06/8.739, allocations: 0 / 3.854 GB, free: 146.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.2e-05/8.739, allocations: 31.98 kB / 3.854 GB, free: 146.3 MB / 0.9792 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.002568/8.742, allocations: 1.412 MB / 3.855 GB, free: 144.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/8.742, allocations: 8.031 kB / 3.855 GB, free: 144.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/8.743, allocations: 187.4 kB / 3.855 GB, free: 144.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/8.744, allocations: 1.128 MB / 3.856 GB, free: 143.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/8.745, allocations: 45.38 kB / 3.856 GB, free: 143.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/8.745, allocations: 64.38 kB / 3.856 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/8.746, allocations: 0.7718 MB / 3.857 GB, free: 142.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/8.746, allocations: 3.938 kB / 3.857 GB, free: 142.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/8.746, allocations: 20 kB / 3.857 GB, free: 142.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/8.746, allocations: 12 kB / 3.857 GB, free: 142.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/8.747, allocations: 0.5228 MB / 3.858 GB, free: 141.9 MB / 0.9792 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.003297/8.75, allocations: 4.603 MB / 3.862 GB, free: 136.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/8.75, allocations: 415.2 kB / 3.863 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/8.751, allocations: 253.8 kB / 3.863 GB, free: 136.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/8.751, allocations: 198.1 kB / 3.863 GB, free: 136 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/8.751, allocations: 297.8 kB / 3.863 GB, free: 135.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/8.751, allocations: 0 / 3.863 GB, free: 135.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=31): time 0.00121/8.753, allocations: 0.6442 MB / 3.864 GB, free: 135.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/8.753, allocations: 81.11 kB / 3.864 GB, free: 135 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/8.754, allocations: 1.106 MB / 3.865 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/8.754, allocations: 37.7 kB / 3.865 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/8.754, allocations: 0.4923 MB / 3.866 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/8.754, allocations: 102.6 kB / 3.866 GB, free: 133.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/8.754, allocations: 4 kB / 3.866 GB, free: 133.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/8.754, allocations: 326 kB / 3.866 GB, free: 132.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/8.755, allocations: 180.7 kB / 3.866 GB, free: 132.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/8.755, allocations: 0.5093 MB / 3.867 GB, free: 132 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/8.756, allocations: 0.5991 MB / 3.867 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/8.756, allocations: 4 kB / 3.867 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009215/8.757, allocations: 0.6815 MB / 3.868 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/8.757, allocations: 275.5 kB / 3.868 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/8.757, allocations: 4 kB / 3.868 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/8.757, allocations: 8 kB / 3.868 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/8.758, allocations: 363.5 kB / 3.869 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/8.761, allocations: 6.095 MB / 3.875 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/8.762, allocations: 111.4 kB / 3.875 GB, free: 123.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/8.762, allocations: 24 kB / 3.875 GB, free: 123.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/8.762, allocations: 5.562 kB / 3.875 GB, free: 123.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007435/8.762, allocations: 0.5327 MB / 3.875 GB, free: 122.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/8.762, allocations: 4 kB / 3.875 GB, free: 122.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/8.762, allocations: 12.06 kB / 3.875 GB, free: 122.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/8.763, allocations: 147.8 kB / 3.875 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/8.763, allocations: 15.88 kB / 3.875 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/8.764, allocations: 99.47 kB / 3.875 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/8.764, allocations: 23.98 kB / 3.875 GB, free: 122.6 MB / 0.9792 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005906/8.764, allocations: 473.5 kB / 3.876 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/8.764, allocations: 98.78 kB / 3.876 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/8.765, allocations: 0.4912 MB / 3.876 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/8.765, allocations: 4 kB / 3.876 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/8.765, allocations: 7.938 kB / 3.876 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/8.765, allocations: 3.984 kB / 3.876 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/8.767, allocations: 1.387 MB / 3.878 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/8.767, allocations: 4 kB / 3.878 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/8.767, allocations: 148 kB / 3.878 GB, free: 119.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/8.767, allocations: 4 kB / 3.878 GB, free: 119.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/8.767, allocations: 8 kB / 3.878 GB, free: 119.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/8.769, allocations: 6.024 MB / 3.884 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/8.769, allocations: 4.031 kB / 3.884 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/8.77, allocations: 0.6102 MB / 3.884 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/8.77, allocations: 215.8 kB / 3.885 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/8.77, allocations: 11.98 kB / 3.885 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/8.771, allocations: 55.8 kB / 3.885 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/8.771, allocations: 35.81 kB / 3.885 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/8.771, allocations: 15.94 kB / 3.885 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0008099/8.772, allocations: 0.7797 MB / 3.886 GB, free: 111.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.21e-07/8.772, allocations: 4 kB / 3.886 GB, free: 111.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001539/8.773, allocations: 475.7 kB / 3.886 GB, free: 111.4 MB / 0.9792 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/8.774, allocations: 0.9219 MB / 3.887 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002774/8.777, allocations: 1.087 MB / 3.888 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/8.777, allocations: 1.375 kB / 3.888 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006587/8.778, allocations: 304.1 kB / 3.888 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/8.78, allocations: 446.1 kB / 3.889 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/8.782, allocations: 2.017 MB / 3.891 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/8.783, allocations: 1.184 MB / 3.892 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009664/8.784, allocations: 379.7 kB / 3.892 GB, free: 105 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/8.784, allocations: 63.44 kB / 3.892 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of SimCode: time 4.11e-07/8.784, allocations: 0 / 3.892 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.03744/8.822, allocations: 27.84 MB / 3.919 GB, free: 77.29 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)