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.0009941/0.0009941, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001224/0.001224, allocations: 168.7 kB / 15.95 MB, free: 200 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.257/1.257, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.613/1.613, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004611/0.0004611, allocations: 14.97 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.5723/0.7924, allocations: 146.7 MB / 0.9306 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.7949, allocations: 1.633 MB / 0.9322 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.7951, allocations: 10.41 kB / 0.9322 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.7956, allocations: 108.8 kB / 0.9323 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009871/0.7966, allocations: 390 kB / 0.9327 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.7974, allocations: 341.7 kB / 0.933 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002601/0.8, allocations: 3.006 MB / 0.9359 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.8023, allocations: 2.155 MB / 0.938 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.8041, allocations: 0.8538 MB / 0.9389 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008622/0.805, allocations: 0.7055 MB / 0.9396 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.805, allocations: 36.06 kB / 0.9396 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.8063, allocations: 0.558 MB / 0.9401 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.8066, allocations: 280.7 kB / 0.9404 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.8071, allocations: 227.6 kB / 0.9406 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.8083, allocations: 1.036 MB / 0.9416 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8083, allocations: 4.438 kB / 0.9416 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8083, allocations: 0 / 0.9416 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.8083, allocations: 0.5 kB / 0.9416 GB, free: 21.05 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.002396/0.8107, allocations: 1.337 MB / 0.943 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.8108, allocations: 8.969 kB / 0.943 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.8115, allocations: 183.2 kB / 0.9431 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.8127, allocations: 0.8056 MB / 0.9439 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.8127, allocations: 45.25 kB / 0.944 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.8128, allocations: 61.69 kB / 0.944 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.814, allocations: 0.8185 MB / 0.9448 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.814, allocations: 8.188 kB / 0.9448 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.814, allocations: 22.25 kB / 0.9449 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.8141, allocations: 14.5 kB / 0.9449 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/0.8149, allocations: 0.5723 MB / 0.9454 GB, free: 19.57 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.003199/0.8181, allocations: 4.262 MB / 0.9496 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.8188, allocations: 454.4 kB / 0.95 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.8192, allocations: 343.3 kB / 0.9504 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.8195, allocations: 200.3 kB / 0.9505 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/0.82, allocations: 326.6 kB / 0.9509 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001938/0.8202, allocations: 31 kB / 0.9509 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.8202, allocations: 0 / 0.9509 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.004152/0.8243, allocations: 1.689 MB / 0.9525 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.8244, allocations: 84.67 kB / 0.9526 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.8256, allocations: 1.146 MB / 0.9537 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.8257, allocations: 34.67 kB / 0.9538 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.826, allocations: 490.9 kB / 0.9542 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.8261, allocations: 116 kB / 0.9543 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.8261, allocations: 9.312 kB / 0.9544 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8262, allocations: 327.3 kB / 0.9547 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.8266, allocations: 212 kB / 0.9549 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.8271, allocations: 0.5188 MB / 0.9554 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.8275, allocations: 322.2 kB / 0.9557 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.8275, allocations: 6 kB / 0.9557 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001855/0.8294, allocations: 1.048 MB / 0.9567 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.8295, allocations: 272.2 kB / 0.957 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.8295, allocations: 5.719 kB / 0.957 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.8306, allocations: 356.8 kB / 0.9573 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.831, allocations: 103.6 kB / 0.9574 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/0.8319, allocations: 1.045 MB / 0.9584 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008056/0.8327, allocations: 86.12 kB / 0.9585 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.8328, allocations: 26.34 kB / 0.9585 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.8328, allocations: 8.125 kB / 0.9586 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/0.834, allocations: 0.7979 MB / 0.9593 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.834, allocations: 5.125 kB / 0.9593 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.8345, allocations: 252.1 kB / 0.9596 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.8348, allocations: 99.56 kB / 0.9597 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.8379, allocations: 3.041 MB / 0.9626 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/0.8386, allocations: 91.38 kB / 0.9627 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.8387, allocations: 25.56 kB / 0.9628 GB, free: 12.14 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.0005255/0.8392, allocations: 474 kB / 0.9632 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.8393, allocations: 102.7 kB / 0.9633 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.8404, allocations: 0.7832 MB / 0.9641 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.8404, allocations: 6.406 kB / 0.9641 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.8404, allocations: 0 / 0.9641 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8405, allocations: 192 / 0.9641 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.8425, allocations: 1.749 MB / 0.9658 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.8425, allocations: 0 / 0.9658 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.8427, allocations: 64.75 kB / 0.9658 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.8431, allocations: 242.5 kB / 0.9661 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.8431, allocations: 11.75 kB / 0.9661 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007037/0.8438, allocations: 1.013 MB / 0.9671 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.8439, allocations: 4.703 kB / 0.9671 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.8449, allocations: 0.8972 MB / 0.968 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.8452, allocations: 228.5 kB / 0.9682 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8453, allocations: 6.812 kB / 0.9682 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.8458, allocations: 70.2 kB / 0.9682 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.8459, allocations: 36.84 kB / 0.9683 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.8459, allocations: 12.81 kB / 0.9683 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008108/0.8468, allocations: 0.8072 MB / 0.9691 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8468, allocations: 2.25 kB / 0.9691 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001148/0.8479, allocations: 479.5 kB / 0.9695 GB, free: 9.566 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.000324/0.8483, allocations: 172.5 kB / 0.9697 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.8499, allocations: 1.133 MB / 0.9708 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8499, allocations: 0 / 0.9708 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.8503, allocations: 250.1 kB / 0.9711 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.8528, allocations: 0.6361 MB / 0.9717 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.8551, allocations: 1.998 MB / 0.9736 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.8557, allocations: 1.182 MB / 0.9748 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008574/0.8566, allocations: 344.1 kB / 0.9751 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.8567, allocations: 66.16 kB / 0.9752 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.8567, allocations: 0 / 0.9752 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of Templates: time 0.02834/0.8851, allocations: 20.74 MB / 0.9954 GB, free: 12.36 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: