Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001194/0.001194, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.339/1.339, allocations: 205.1 MB / 222.8 MB, free: 4.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.678/1.678, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001329/0.001329, allocations: 67.34 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2281, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.6611/0.8893, allocations: 159.4 MB / 0.9392 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004589/0.8939, allocations: 3.583 MB / 0.9427 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.8945, allocations: 11.06 kB / 0.9427 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.8952, allocations: 146.1 kB / 0.9428 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.8968, allocations: 0.4909 MB / 0.9433 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.8982, allocations: 396.5 kB / 0.9437 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002745/0.901, allocations: 2.592 MB / 0.9462 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003014/0.904, allocations: 2.403 MB / 0.9486 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.9068, allocations: 1.073 MB / 0.9496 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.9085, allocations: 0.7524 MB / 0.9504 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.9087, allocations: 61.5 kB / 0.9504 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.9108, allocations: 0.7654 MB / 0.9512 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004942/0.9113, allocations: 318.6 kB / 0.9515 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.9123, allocations: 0.5435 MB / 0.952 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.9141, allocations: 1.064 MB / 0.953 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9141, allocations: 0 / 0.953 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9141, allocations: 0.5312 kB / 0.953 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.402e-05/0.9142, allocations: 0 / 0.953 GB, free: 5.383 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003433/0.9176, allocations: 1.459 MB / 0.9545 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.9177, allocations: 10.25 kB / 0.9545 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/0.9186, allocations: 189.6 kB / 0.9546 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.9201, allocations: 0.8047 MB / 0.9554 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.9202, allocations: 44.44 kB / 0.9555 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.9203, allocations: 57.91 kB / 0.9555 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.9218, allocations: 0.8194 MB / 0.9563 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.9218, allocations: 4.094 kB / 0.9563 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/0.9219, allocations: 21.98 kB / 0.9564 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.9219, allocations: 13.41 kB / 0.9564 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009934/0.9229, allocations: 0.5689 MB / 0.9569 GB, free: 19.87 MB / 0.7481 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.004738/0.9276, allocations: 4.217 MB / 0.961 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.9284, allocations: 443.4 kB / 0.9615 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.9289, allocations: 346 kB / 0.9618 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.9292, allocations: 198.4 kB / 0.962 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005582/0.9298, allocations: 321.2 kB / 0.9623 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005742/0.9304, allocations: 32.78 kB / 0.9623 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.535e-06/0.9304, allocations: 0 / 0.9623 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.001521/0.9319, allocations: 0.697 MB / 0.963 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.932, allocations: 80.77 kB / 0.9631 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.9335, allocations: 1.158 MB / 0.9642 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.9335, allocations: 38.23 kB / 0.9642 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.9339, allocations: 493.7 kB / 0.9647 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.934, allocations: 112.2 kB / 0.9648 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.9342, allocations: 113.3 kB / 0.9649 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9343, allocations: 335.8 kB / 0.9653 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.9347, allocations: 233.6 kB / 0.9655 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.9353, allocations: 0.536 MB / 0.966 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008656/0.9361, allocations: 0.6845 MB / 0.9667 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.9362, allocations: 2.094 kB / 0.9667 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001515/0.9377, allocations: 0.7641 MB / 0.9674 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.9377, allocations: 38.12 kB / 0.9675 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.9378, allocations: 8.906 kB / 0.9675 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.9378, allocations: 7.625 kB / 0.9675 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.9383, allocations: 119.9 kB / 0.9676 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.9384, allocations: 10.94 kB / 0.9676 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.9394, allocations: 78.73 kB / 0.9677 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.9395, allocations: 26.98 kB / 0.9677 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000835/0.9403, allocations: 0.5157 MB / 0.9682 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004778/0.9408, allocations: 0.5062 MB / 0.9687 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000703/0.9415, allocations: 0.6031 MB / 0.9693 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.9416, allocations: 1.688 kB / 0.9693 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001142/0.9427, allocations: 0.6826 MB / 0.9699 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.9427, allocations: 36.8 kB / 0.97 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.9428, allocations: 4.906 kB / 0.97 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.9428, allocations: 12.16 kB / 0.97 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.9432, allocations: 113.3 kB / 0.9701 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.9432, allocations: 13.3 kB / 0.9701 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009937/0.9442, allocations: 84.94 kB / 0.9702 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.9443, allocations: 28.72 kB / 0.9702 GB, free: 14.11 MB / 0.7481 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 (55): * Single equations (assignments): 54 * 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.000238/0.9445, allocations: 222.2 kB / 0.9704 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.9447, allocations: 108.1 kB / 0.9705 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.9457, allocations: 0.5389 MB / 0.9711 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.9457, allocations: 4.375 kB / 0.9711 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9457, allocations: 4 kB / 0.9711 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.9457, allocations: 8.406 kB / 0.9711 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.948, allocations: 1.494 MB / 0.9725 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.948, allocations: 3.531 kB / 0.9725 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.9483, allocations: 63.88 kB / 0.9726 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.9483, allocations: 10.45 kB / 0.9726 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.9484, allocations: 7.875 kB / 0.9726 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.9484, allocations: 3.938 kB / 0.9726 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9484, allocations: 4.531 kB / 0.9726 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.9492, allocations: 0.6687 MB / 0.9733 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/0.9497, allocations: 222.4 kB / 0.9735 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.9498, allocations: 12.27 kB / 0.9735 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.9504, allocations: 57.91 kB / 0.9736 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.9505, allocations: 31.58 kB / 0.9736 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.9505, allocations: 13.72 kB / 0.9736 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009727/0.9515, allocations: 0.8132 MB / 0.9744 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9515, allocations: 0 / 0.9744 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001354/0.9529, allocations: 428.9 kB / 0.9748 GB, free: 12.79 MB / 0.7481 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 (33): * Single equations (assignments): 31 * 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.0004962/0.9534, allocations: 170.4 kB / 0.975 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.955, allocations: 0.9428 MB / 0.9759 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.955, allocations: 1.203 kB / 0.9759 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.9554, allocations: 222.1 kB / 0.9761 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.9575, allocations: 0.5097 MB / 0.9766 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.9608, allocations: 2.121 MB / 0.9787 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.9616, allocations: 1.175 MB / 0.9798 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.9619, allocations: 84.06 kB / 0.9799 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/0.9619, allocations: 0 / 0.9799 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.02839/0.9903, allocations: 16.53 MB / 0.9961 GB, free: 5.484 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)