Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.705/1.705, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.002415/0.002415, allocations: 75.06 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2018, allocations: 114.6 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5987/0.8006, allocations: 161.6 MB / 0.9412 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.8037, allocations: 1.752 MB / 0.9429 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.8041, allocations: 10.91 kB / 0.9429 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.8047, allocations: 157.1 kB / 0.9431 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.8062, allocations: 0.5276 MB / 0.9436 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.8074, allocations: 399.8 kB / 0.9439 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002895/0.8103, allocations: 2.515 MB / 0.9464 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.8119, allocations: 0.9264 MB / 0.9473 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.8144, allocations: 1.022 MB / 0.9483 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.8157, allocations: 0.7064 MB / 0.949 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.8159, allocations: 54.78 kB / 0.9491 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.8175, allocations: 0.7362 MB / 0.9498 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.8179, allocations: 310.5 kB / 0.9501 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008299/0.8187, allocations: 0.5472 MB / 0.9506 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.8205, allocations: 1.387 MB / 0.952 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8205, allocations: 1.25 kB / 0.952 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8205, allocations: 0 / 0.952 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.8206, allocations: 0 / 0.952 GB, free: 1.082 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00231/0.8229, allocations: 1.449 MB / 0.9534 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8229, allocations: 10.53 kB / 0.9534 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.8237, allocations: 186.1 kB / 0.9536 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.8249, allocations: 0.8035 MB / 0.9543 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.825, allocations: 43.84 kB / 0.9544 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.8251, allocations: 62.91 kB / 0.9544 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.8262, allocations: 0.7837 MB / 0.9552 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.8262, allocations: 5.438 kB / 0.9552 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.8263, allocations: 28.66 kB / 0.9552 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.8263, allocations: 12.75 kB / 0.9553 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009006/0.8272, allocations: 0.5337 MB / 0.9558 GB, free: 15.52 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.004623/0.8319, allocations: 4.614 MB / 0.9603 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000772/0.8327, allocations: 419.7 kB / 0.9607 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.8331, allocations: 250 kB / 0.9609 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.8334, allocations: 197.8 kB / 0.9611 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/0.834, allocations: 293.7 kB / 0.9614 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 3.006e-06/0.834, allocations: 0 / 0.9614 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.002283/0.8363, allocations: 0.6352 MB / 0.962 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.8364, allocations: 83.42 kB / 0.9621 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.8385, allocations: 1.115 MB / 0.9632 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.8387, allocations: 36.58 kB / 0.9632 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.8392, allocations: 492.9 kB / 0.9637 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.8394, allocations: 107.1 kB / 0.9638 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.8395, allocations: 111.5 kB / 0.9639 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8397, allocations: 330.7 kB / 0.9642 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.8401, allocations: 219.9 kB / 0.9644 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.8406, allocations: 0.5142 MB / 0.9649 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/0.8416, allocations: 0.6364 MB / 0.9655 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.8416, allocations: 1.25 kB / 0.9655 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001614/0.8432, allocations: 0.7269 MB / 0.9662 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.8433, allocations: 36.22 kB / 0.9663 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.8433, allocations: 9.562 kB / 0.9663 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.8433, allocations: 8.375 kB / 0.9663 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.8438, allocations: 109.9 kB / 0.9664 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.8438, allocations: 9.953 kB / 0.9664 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/0.8448, allocations: 70.41 kB / 0.9665 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.8449, allocations: 22.56 kB / 0.9665 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009784/0.8458, allocations: 0.5082 MB / 0.967 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006297/0.8465, allocations: 498.1 kB / 0.9675 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008297/0.8473, allocations: 0.5476 MB / 0.968 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.8473, allocations: 2.344 kB / 0.968 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001221/0.8486, allocations: 0.6414 MB / 0.9686 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.8486, allocations: 33.08 kB / 0.9687 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8486, allocations: 8.219 kB / 0.9687 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.8486, allocations: 7.844 kB / 0.9687 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.849, allocations: 108.4 kB / 0.9688 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.849, allocations: 14.22 kB / 0.9688 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.8498, allocations: 61.38 kB / 0.9689 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.8499, allocations: 21.28 kB / 0.9689 GB, free: 8.996 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002838/0.8502, allocations: 228.7 kB / 0.9691 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.8504, allocations: 105.5 kB / 0.9692 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009779/0.8514, allocations: 0.4891 MB / 0.9697 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.8514, allocations: 3.125 kB / 0.9697 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.8514, allocations: 3.5 kB / 0.9697 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.8514, allocations: 6.375 kB / 0.9697 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.8536, allocations: 1.381 MB / 0.971 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8536, allocations: 4.219 kB / 0.971 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.8538, allocations: 72.28 kB / 0.9711 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.8539, allocations: 2.438 kB / 0.9711 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.8539, allocations: 8.5 kB / 0.9711 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.8539, allocations: 2.5 kB / 0.9711 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.8539, allocations: 13.83 kB / 0.9711 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008685/0.8548, allocations: 0.594 MB / 0.9717 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.8552, allocations: 215.6 kB / 0.9719 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.8553, allocations: 7.781 kB / 0.9719 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.8557, allocations: 28.83 kB / 0.972 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.8558, allocations: 29.34 kB / 0.972 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.8558, allocations: 14.25 kB / 0.972 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001061/0.8569, allocations: 0.7902 MB / 0.9728 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8569, allocations: 0 / 0.9728 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001312/0.8582, allocations: 406.2 kB / 0.9732 GB, free: 7.645 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004819/0.8587, allocations: 176 kB / 0.9733 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.8602, allocations: 0.8585 MB / 0.9742 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8603, allocations: 0 / 0.9742 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.8606, allocations: 198.6 kB / 0.9744 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.8627, allocations: 462.5 kB / 0.9748 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.8656, allocations: 1.757 MB / 0.9765 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.8663, allocations: 1.184 MB / 0.9777 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001111/0.8675, allocations: 393.8 kB / 0.978 GB, free: 5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.8676, allocations: 83.55 kB / 0.9781 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of SimCode: time 1.843e-06/0.8676, allocations: 0 / 0.9781 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of Templates: time 0.02975/0.8974, allocations: 17.04 MB / 0.9948 GB, free: 12.73 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)