Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009028, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008028/0.0008029, allocations: 12.25 kB / 0.6735 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2998, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.7897/1.09, allocations: 140.5 MB / 0.9243 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005461/1.095, allocations: 3.581 MB / 0.9278 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/1.096, allocations: 16.06 kB / 0.9278 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009731/1.097, allocations: 235.4 kB / 0.928 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/1.099, allocations: 0.6877 MB / 0.9287 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/1.1, allocations: 483.6 kB / 0.9292 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002104/1.103, allocations: 1.653 MB / 0.9308 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003271/1.106, allocations: 2.317 MB / 0.933 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/1.108, allocations: 0.8653 MB / 0.9339 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/1.109, allocations: 0.5945 MB / 0.9345 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/1.11, allocations: 47.31 kB / 0.9345 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/1.111, allocations: 460.2 kB / 0.935 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/1.112, allocations: 305 kB / 0.9352 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004331/1.112, allocations: 247.4 kB / 0.9355 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/1.114, allocations: 1.128 MB / 0.9366 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/1.114, allocations: 5.25 kB / 0.9366 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/1.114, allocations: 0 / 0.9366 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.256e-05/1.114, allocations: 0 / 0.9366 GB, free: 5.262 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003143/1.117, allocations: 1.499 MB / 0.9381 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.117, allocations: 13.5 kB / 0.9381 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/1.118, allocations: 206.5 kB / 0.9383 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/1.121, allocations: 0.8669 MB / 0.9391 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.176e-05/1.121, allocations: 46.78 kB / 0.9392 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/1.121, allocations: 63.94 kB / 0.9392 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/1.123, allocations: 0.9901 MB / 0.9402 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.123, allocations: 5.156 kB / 0.9402 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/1.123, allocations: 23.3 kB / 0.9402 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/1.123, allocations: 18.12 kB / 0.9402 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/1.124, allocations: 0.8007 MB / 0.941 GB, free: 19.77 MB / 0.7325 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.005373/1.13, allocations: 4.816 MB / 0.9457 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/1.132, allocations: 4.026 MB / 0.9496 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.673e-05/1.132, allocations: 21.06 kB / 0.9497 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006108/1.133, allocations: 332.4 kB / 0.95 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005143/1.134, allocations: 38.98 kB / 0.95 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/1.134, allocations: 0 / 0.95 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.005259/1.139, allocations: 1.745 MB / 0.9517 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/1.139, allocations: 110.6 kB / 0.9518 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/1.141, allocations: 1.182 MB / 0.953 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/1.141, allocations: 42.08 kB / 0.953 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/1.141, allocations: 0.5071 MB / 0.9535 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.52e-05/1.141, allocations: 122.3 kB / 0.9536 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/1.141, allocations: 9.641 kB / 0.9536 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.142, allocations: 329 kB / 0.954 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/1.142, allocations: 206.5 kB / 0.9542 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/1.143, allocations: 0.5415 MB / 0.9547 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/1.143, allocations: 322.7 kB / 0.955 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.143, allocations: 1.031 kB / 0.955 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002419/1.146, allocations: 1.074 MB / 0.956 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009741/1.147, allocations: 2.142 MB / 0.9581 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/1.147, allocations: 8.766 kB / 0.9581 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/1.148, allocations: 368.9 kB / 0.9585 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/1.149, allocations: 78.25 kB / 0.9586 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/1.15, allocations: 1.061 MB / 0.9596 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.151, allocations: 97.75 kB / 0.9597 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/1.151, allocations: 30.75 kB / 0.9597 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.151, allocations: 4.156 kB / 0.9597 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0015/1.153, allocations: 0.8085 MB / 0.9605 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.153, allocations: 13.48 kB / 0.9605 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/1.153, allocations: 258.9 kB / 0.9608 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/1.154, allocations: 69.97 kB / 0.9608 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003823/1.158, allocations: 3.192 MB / 0.964 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.159, allocations: 97.66 kB / 0.9641 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/1.159, allocations: 24.34 kB / 0.9641 GB, free: 6.129 MB / 0.7325 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_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 (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0009089/1.16, allocations: 477.3 kB / 0.9645 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/1.16, allocations: 115.6 kB / 0.9646 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/1.161, allocations: 0.7984 MB / 0.9654 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/1.161, allocations: 6.094 kB / 0.9654 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.161, allocations: 3.938 kB / 0.9654 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.161, allocations: 3.141 kB / 0.9654 GB, free: 5.754 MB / 0.7325 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.003063/1.164, allocations: 2.229 MB / 0.9676 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.164, allocations: 6.312 kB / 0.9676 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/1.165, allocations: 47.69 kB / 0.9677 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/1.165, allocations: 203.5 kB / 0.9679 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/1.165, allocations: 16.53 kB / 0.9679 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007706/1.166, allocations: 0.8903 MB / 0.9687 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.166, allocations: 1.625 kB / 0.9687 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.167, allocations: 0.9751 MB / 0.9697 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/1.168, allocations: 240 kB / 0.9699 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.168, allocations: 7.75 kB / 0.9699 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/1.169, allocations: 79.8 kB / 0.97 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.169, allocations: 33.8 kB / 0.97 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/1.169, allocations: 14.08 kB / 0.9701 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001036/1.17, allocations: 0.8297 MB / 0.9709 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.17, allocations: 4 kB / 0.9709 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001646/1.171, allocations: 0.508 MB / 0.9714 GB, free: 3.574 MB / 0.7325 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_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 (22): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.000526/1.172, allocations: 185.5 kB / 0.9715 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.174, allocations: 1.149 MB / 0.9727 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.174, allocations: 6.594 kB / 0.9727 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004236/1.174, allocations: 260 kB / 0.9729 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/1.177, allocations: 0.6475 MB / 0.9736 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/1.181, allocations: 2.095 MB / 0.9756 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008578/1.182, allocations: 1.247 MB / 0.9768 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001057/1.183, allocations: 333.1 kB / 0.9771 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/1.183, allocations: 66.53 kB / 0.9772 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.183, allocations: 0 / 0.9772 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of Templates: time 0.0393/1.222, allocations: 21.11 MB / 0.9978 GB, free: 6.156 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: