Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.722/1.722, allocations: 297.8 MB / 313.7 MB, free: 124 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.001002/0.001002, allocations: 184.5 kB / 384.6 MB, free: 10.87 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.442/1.442, allocations: 223.2 MB / 0.6626 GB, free: 4.25 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.0008451/0.0008451, allocations: 97.17 kB / 0.7808 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004251, allocations: 12.53 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8502/0.8507, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/5.271, allocations: 1.861 GB / 2.887 GB, free: 301.6 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/5.271, allocations: 92.14 kB / 2.887 GB, free: 301.6 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.328/8.599, allocations: 1.077 GB / 3.965 GB, free: 45.14 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.978e-06/8.599, allocations: 0 / 3.965 GB, free: 45.14 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002865/8.6, allocations: 31.98 kB / 3.965 GB, free: 45.11 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007233/8.607, allocations: 1.571 MB / 3.966 GB, free: 43.47 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/8.607, allocations: 8.031 kB / 3.966 GB, free: 43.46 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/8.609, allocations: 195.4 kB / 3.967 GB, free: 43.27 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/8.613, allocations: 1.496 MB / 3.968 GB, free: 41.72 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.68e-05/8.613, allocations: 45.69 kB / 3.968 GB, free: 41.68 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/8.613, allocations: 64.38 kB / 3.968 GB, free: 41.61 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/8.615, allocations: 0.9602 MB / 3.969 GB, free: 40.58 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/8.615, allocations: 0 / 3.969 GB, free: 40.58 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/8.615, allocations: 27.94 kB / 3.969 GB, free: 40.55 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/8.615, allocations: 12 kB / 3.969 GB, free: 40.54 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/8.616, allocations: 0.757 MB / 3.97 GB, free: 39.79 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.004844/8.621, allocations: 4.734 MB / 3.974 GB, free: 34.73 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/8.623, allocations: 4.063 MB / 3.978 GB, free: 29.84 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/8.623, allocations: 352.6 kB / 3.979 GB, free: 29.49 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/8.624, allocations: 194 kB / 3.979 GB, free: 29.26 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/8.624, allocations: 331.5 kB / 3.979 GB, free: 28.92 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006248/8.625, allocations: 27.69 kB / 3.979 GB, free: 28.89 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=36): time 4.729e-06/8.625, allocations: 3.938 kB / 3.979 GB, free: 28.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36): time 0.004493/8.629, allocations: 1.563 MB / 3.981 GB, free: 27.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/8.629, allocations: 85.11 kB / 3.981 GB, free: 27.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/8.631, allocations: 1.169 MB / 3.982 GB, free: 26.01 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.725e-05/8.631, allocations: 41.7 kB / 3.982 GB, free: 25.96 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/8.632, allocations: 0.5167 MB / 3.983 GB, free: 25.45 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/8.632, allocations: 126.3 kB / 3.983 GB, free: 25.32 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/8.632, allocations: 8 kB / 3.983 GB, free: 25.31 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/8.632, allocations: 334 kB / 3.983 GB, free: 24.98 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/8.632, allocations: 205 kB / 3.983 GB, free: 24.78 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/8.633, allocations: 0.5482 MB / 3.984 GB, free: 24.09 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/8.634, allocations: 0.6608 MB / 3.984 GB, free: 23.34 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/8.634, allocations: 4 kB / 3.984 GB, free: 23.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002382/8.636, allocations: 1.056 MB / 3.985 GB, free: 22.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/8.636, allocations: 282.3 kB / 3.986 GB, free: 21.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/8.636, allocations: 12 kB / 3.986 GB, free: 21.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/8.638, allocations: 387.3 kB / 3.986 GB, free: 21.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/8.638, allocations: 91.88 kB / 3.986 GB, free: 21.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/8.639, allocations: 1.662 MB / 3.988 GB, free: 19.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/8.641, allocations: 103.8 kB / 3.988 GB, free: 19.61 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/8.641, allocations: 28 kB / 3.988 GB, free: 19.59 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/8.641, allocations: 4 kB / 3.988 GB, free: 19.58 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/8.642, allocations: 0.7942 MB / 3.989 GB, free: 18.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/8.642, allocations: 8 kB / 3.989 GB, free: 18.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/8.642, allocations: 217.2 kB / 3.989 GB, free: 18.55 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/8.643, allocations: 83.83 kB / 3.989 GB, free: 18.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/8.646, allocations: 2.903 MB / 3.992 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/8.647, allocations: 103.7 kB / 3.992 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/8.647, allocations: 28 kB / 3.992 GB, free: 15.31 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007296/8.648, allocations: 485.1 kB / 3.992 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/8.648, allocations: 106.7 kB / 3.993 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/8.649, allocations: 0.8008 MB / 3.993 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/8.649, allocations: 4 kB / 3.993 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/8.649, allocations: 0 / 3.993 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/8.649, allocations: 4 kB / 3.993 GB, free: 13.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 postOpt removeSimpleEquations (simulation): time 0.002689/8.652, allocations: 2.165 MB / 3.995 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/8.652, allocations: 0 / 3.995 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/8.652, allocations: 59.91 kB / 3.995 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003636/8.653, allocations: 199.4 kB / 3.996 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/8.653, allocations: 8 kB / 3.996 GB, free: 11.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007989/8.653, allocations: 1.474 MB / 3.997 GB, free: 9.805 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/8.653, allocations: 4 kB / 3.997 GB, free: 9.801 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/8.655, allocations: 0.8657 MB / 3.998 GB, free: 8.887 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/8.655, allocations: 235.7 kB / 3.998 GB, free: 8.637 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/8.655, allocations: 23.92 kB / 3.998 GB, free: 8.613 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/8.656, allocations: 75.77 kB / 3.998 GB, free: 8.539 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/8.656, allocations: 27.95 kB / 3.998 GB, free: 8.512 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/8.656, allocations: 15.98 kB / 3.998 GB, free: 8.496 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009231/8.657, allocations: 0.8249 MB / 3.999 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/8.657, allocations: 0 / 3.999 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001795/8.659, allocations: 0.5972 MB / 4 GB, free: 7.066 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/8.66, allocations: 1.075 MB / 4.001 GB, free: 5.988 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002463/8.663, allocations: 1.287 MB / 4.002 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/8.663, allocations: 0 / 4.002 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005551/8.663, allocations: 320.4 kB / 4.002 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/8.667, allocations: 0.6448 MB / 4.003 GB, free: 3.727 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/8.669, allocations: 2.211 MB / 4.005 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/8.67, allocations: 1.216 MB / 4.006 GB, free: 232 kB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.5275/9.198, allocations: 384.2 kB / 4.007 GB, free: 225.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/9.198, allocations: 70.69 kB / 4.007 GB, free: 225.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.613e-06/9.198, allocations: 0 / 4.007 GB, free: 225.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.06051/9.259, allocations: 33.54 MB / 4.039 GB, free: 225.1 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)