Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001065/0.001065, allocations: 97.91 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.001222/0.001222, 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.391/1.391, 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 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0005572/0.0005575, allocations: 15.41 kB / 0.6735 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2279, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.6324/0.8604, allocations: 135.7 MB / 0.9196 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.8635, allocations: 1.663 MB / 0.9213 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.864, allocations: 8 kB / 0.9213 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006821/0.8647, allocations: 179.1 kB / 0.9215 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.8663, allocations: 498 kB / 0.9219 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.8677, allocations: 416.5 kB / 0.9223 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.8698, allocations: 1.514 MB / 0.9238 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002853/0.8726, allocations: 2.188 MB / 0.9259 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.8743, allocations: 0.7005 MB / 0.9266 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/0.8749, allocations: 486.5 kB / 0.9271 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.875, allocations: 34.72 kB / 0.9271 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.8761, allocations: 416.4 kB / 0.9275 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.8764, allocations: 258.2 kB / 0.9278 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007728/0.8772, allocations: 236.9 kB / 0.928 GB, free: 21.58 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.8787, allocations: 0.9874 MB / 0.929 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.8787, allocations: 0 / 0.929 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8787, allocations: 0 / 0.929 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.8787, allocations: 0 / 0.929 GB, free: 21.48 MB / 0.7325 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.002197/0.8809, allocations: 1.31 MB / 0.9302 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.881, allocations: 10.03 kB / 0.9302 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.8817, allocations: 187.5 kB / 0.9304 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.8833, allocations: 0.8037 MB / 0.9312 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.8834, allocations: 43.14 kB / 0.9312 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.8835, allocations: 63.06 kB / 0.9313 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.8851, allocations: 0.8195 MB / 0.9321 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.8851, allocations: 4.531 kB / 0.9321 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.8852, allocations: 24.62 kB / 0.9321 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.8852, allocations: 21.72 kB / 0.9322 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.8865, allocations: 0.5666 MB / 0.9327 GB, free: 20.05 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.005431/0.8919, allocations: 4.257 MB / 0.9369 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/0.8929, allocations: 454.6 kB / 0.9373 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.893, allocations: 13.69 kB / 0.9373 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006558/0.8937, allocations: 335.5 kB / 0.9376 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003806/0.8941, allocations: 28.88 kB / 0.9377 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/0.8941, allocations: 0.5312 kB / 0.9377 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.005231/0.8993, allocations: 1.671 MB / 0.9393 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.8994, allocations: 117.5 kB / 0.9394 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.9013, allocations: 1.146 MB / 0.9405 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.9014, allocations: 35.05 kB / 0.9406 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.9018, allocations: 492 kB / 0.941 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.9019, allocations: 112.2 kB / 0.9411 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.902, allocations: 10.41 kB / 0.9411 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.9021, allocations: 328.4 kB / 0.9415 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.9025, allocations: 211.2 kB / 0.9417 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.9031, allocations: 0.5178 MB / 0.9422 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.9036, allocations: 320.9 kB / 0.9425 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.9037, allocations: 5.25 kB / 0.9425 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002286/0.9059, allocations: 1.041 MB / 0.9435 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000834/0.9068, allocations: 2.139 MB / 0.9456 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.9068, allocations: 5.375 kB / 0.9456 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.9081, allocations: 353.9 kB / 0.9459 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.9085, allocations: 98.61 kB / 0.946 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.9097, allocations: 1.047 MB / 0.947 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.9109, allocations: 89.84 kB / 0.9471 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.911, allocations: 27.28 kB / 0.9471 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.911, allocations: 3.719 kB / 0.9472 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/0.9125, allocations: 0.7957 MB / 0.9479 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.9125, allocations: 5.531 kB / 0.9479 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.9132, allocations: 252.1 kB / 0.9482 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.9136, allocations: 100.9 kB / 0.9483 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.9176, allocations: 3.103 MB / 0.9513 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.9187, allocations: 89.27 kB / 0.9514 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.9188, allocations: 22.34 kB / 0.9514 GB, free: 11.08 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008817/0.9197, allocations: 473.1 kB / 0.9519 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.92, allocations: 104.2 kB / 0.952 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.9215, allocations: 0.7574 MB / 0.9527 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.9215, allocations: 7.156 kB / 0.9527 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9215, allocations: 0 / 0.9527 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.9216, allocations: 2.156 kB / 0.9527 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.9237, allocations: 1.153 MB / 0.9538 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.9237, allocations: 3.156 kB / 0.9538 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.924, allocations: 63.59 kB / 0.9539 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/0.9245, allocations: 253.5 kB / 0.9541 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.9245, allocations: 12.58 kB / 0.9542 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008979/0.9254, allocations: 1.004 MB / 0.9551 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.9255, allocations: 4.281 kB / 0.9551 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.9268, allocations: 0.9216 MB / 0.956 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/0.9274, allocations: 232 kB / 0.9563 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.9276, allocations: 11.09 kB / 0.9563 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007218/0.9284, allocations: 66.22 kB / 0.9563 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.9285, allocations: 32.78 kB / 0.9564 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.9285, allocations: 14.84 kB / 0.9564 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001312/0.9298, allocations: 0.8105 MB / 0.9572 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9298, allocations: 4 kB / 0.9572 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001816/0.9316, allocations: 466.2 kB / 0.9576 GB, free: 9.074 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 (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.0004852/0.9321, allocations: 183.2 kB / 0.9578 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.9342, allocations: 1.129 MB / 0.9589 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.9342, allocations: 0 / 0.9589 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.9347, allocations: 261.4 kB / 0.9591 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/0.9377, allocations: 0.6207 MB / 0.9597 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.941, allocations: 1.988 MB / 0.9617 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.9421, allocations: 1.207 MB / 0.9629 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001179/0.9433, allocations: 345.4 kB / 0.9632 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.9435, allocations: 56.91 kB / 0.9633 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.9435, allocations: 2.938 kB / 0.9633 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of Templates: time 0.03455/0.978, allocations: 20.73 MB / 0.9835 GB, free: 13.26 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: