Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 99.86 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.001408/0.001409, 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.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.536/1.536, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.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.0005958/0.0005959, allocations: 20 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5055, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1427/0.6483, allocations: 135.8 MB / 0.8606 GB, free: 3.273 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003204/0.6515, allocations: 1.717 MB / 0.8623 GB, free: 1.555 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.652, allocations: 7.938 kB / 0.8623 GB, free: 1.547 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.6528, allocations: 191 kB / 0.8625 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.6544, allocations: 0.4946 MB / 0.863 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.6558, allocations: 445.9 kB / 0.8634 GB, free: 444 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.6579, allocations: 1.516 MB / 0.8649 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.6606, allocations: 2.186 MB / 0.867 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.6622, allocations: 0.6929 MB / 0.8677 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.6632, allocations: 497.8 kB / 0.8681 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.6634, allocations: 32 kB / 0.8682 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.6646, allocations: 415.4 kB / 0.8686 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.665, allocations: 255.1 kB / 0.8688 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.6654, allocations: 229.1 kB / 0.869 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.6667, allocations: 0.9821 MB / 0.87 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6667, allocations: 0 / 0.87 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6667, allocations: 3.938 kB / 0.87 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.808e-05/0.6667, allocations: 0 / 0.87 GB, free: 9.625 MB / 0.6856 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.002567/0.6693, allocations: 1.326 MB / 0.8713 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.6693, allocations: 8.031 kB / 0.8713 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009073/0.6703, allocations: 186.5 kB / 0.8715 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.672, allocations: 0.7963 MB / 0.8723 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.6721, allocations: 48.95 kB / 0.8723 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.6722, allocations: 60 kB / 0.8724 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.6735, allocations: 0.8238 MB / 0.8732 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6735, allocations: 3.938 kB / 0.8732 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.6736, allocations: 24 kB / 0.8732 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.6736, allocations: 12 kB / 0.8732 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009685/0.6746, allocations: 0.5735 MB / 0.8738 GB, free: 5.574 MB / 0.6856 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.004276/0.6789, allocations: 4.258 MB / 0.8779 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.6797, allocations: 458.1 kB / 0.8784 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.6797, allocations: 11.98 kB / 0.8784 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005192/0.6803, allocations: 328.1 kB / 0.8787 GB, free: 248 kB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000298/0.6806, allocations: 31.69 kB / 0.8787 GB, free: 216 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 2.916e-06/0.6806, allocations: 0 / 0.8787 GB, free: 216 kB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.004958/0.6856, allocations: 1.681 MB / 0.8804 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.6856, allocations: 114.8 kB / 0.8805 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.6872, allocations: 1.143 MB / 0.8816 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.6872, allocations: 33.7 kB / 0.8816 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.6876, allocations: 484.4 kB / 0.8821 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.6878, allocations: 118.4 kB / 0.8822 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.6878, allocations: 12 kB / 0.8822 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6879, allocations: 326 kB / 0.8825 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.6883, allocations: 205 kB / 0.8827 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.6889, allocations: 0.5189 MB / 0.8832 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.6894, allocations: 311.5 kB / 0.8835 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.6894, allocations: 7.984 kB / 0.8835 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002192/0.6916, allocations: 1.061 MB / 0.8846 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007594/0.6924, allocations: 2.132 MB / 0.8866 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6924, allocations: 4 kB / 0.8866 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.6937, allocations: 343.1 kB / 0.887 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.6941, allocations: 111.9 kB / 0.8871 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.6951, allocations: 1.044 MB / 0.8881 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009682/0.6961, allocations: 83.91 kB / 0.8882 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.6962, allocations: 31.94 kB / 0.8882 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.6962, allocations: 6.188 kB / 0.8882 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001437/0.6976, allocations: 0.7996 MB / 0.889 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6977, allocations: 4 kB / 0.889 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.6983, allocations: 251.3 kB / 0.8892 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.6987, allocations: 91.88 kB / 0.8893 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.7025, allocations: 3.116 MB / 0.8924 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.7035, allocations: 87.88 kB / 0.8924 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.7036, allocations: 20 kB / 0.8925 GB, free: 1.551 MB / 0.7012 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006026/0.7042, allocations: 472.6 kB / 0.8929 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.7044, allocations: 106.7 kB / 0.893 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.7058, allocations: 0.7661 MB / 0.8938 GB, free: 200 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.7058, allocations: 4 kB / 0.8938 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.7058, allocations: 0 / 0.8938 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.7058, allocations: 3.984 kB / 0.8938 GB, free: 192 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.7076, allocations: 1.154 MB / 0.8949 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7077, allocations: 7.938 kB / 0.8949 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.7079, allocations: 56.17 kB / 0.895 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005146/0.7085, allocations: 246.6 kB / 0.8952 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.7085, allocations: 12.14 kB / 0.8952 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009207/0.7094, allocations: 1.015 MB / 0.8962 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7094, allocations: 0 / 0.8962 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.7108, allocations: 0.9232 MB / 0.8971 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.7113, allocations: 231.7 kB / 0.8973 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.7115, allocations: 8 kB / 0.8973 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/0.7122, allocations: 67.77 kB / 0.8974 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.7123, allocations: 31.91 kB / 0.8974 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.7123, allocations: 16 kB / 0.8974 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001065/0.7134, allocations: 0.804 MB / 0.8982 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7134, allocations: 0 / 0.8982 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001682/0.7151, allocations: 479.5 kB / 0.8987 GB, free: 10.95 MB / 0.7169 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005863/0.7157, allocations: 170.5 kB / 0.8988 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.7182, allocations: 1.134 MB / 0.9 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7182, allocations: 0 / 0.9 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006105/0.7188, allocations: 265.5 kB / 0.9002 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/0.722, allocations: 0.6343 MB / 0.9008 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.725, allocations: 1.979 MB / 0.9028 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.7258, allocations: 1.204 MB / 0.9039 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00106/0.7269, allocations: 344.1 kB / 0.9043 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.7271, allocations: 63.42 kB / 0.9043 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.7271, allocations: 0 / 0.9043 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of Templates: time 0.4239/1.151, allocations: 20.71 MB / 0.9245 GB, free: 173.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: