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.0008067/0.0008068, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005141/0.005141, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.419/1.419, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.641/1.641, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.00049/0.0004902, allocations: 17.41 kB / 0.6743 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5681/0.7866, allocations: 157.3 MB / 0.9415 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.7909, allocations: 3.576 MB / 0.945 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.7914, allocations: 10.72 kB / 0.945 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.792, allocations: 135.9 kB / 0.9451 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.7933, allocations: 0.4958 MB / 0.9456 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.7945, allocations: 384.8 kB / 0.946 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003737/0.7982, allocations: 3.518 MB / 0.9494 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.8012, allocations: 2.227 MB / 0.9516 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.8033, allocations: 0.9065 MB / 0.9525 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.8046, allocations: 0.7096 MB / 0.9532 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.8048, allocations: 33.52 kB / 0.9532 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.8065, allocations: 0.801 MB / 0.954 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.807, allocations: 285.4 kB / 0.9542 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.808, allocations: 0.5312 MB / 0.9548 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.8098, allocations: 1.385 MB / 0.9561 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8098, allocations: 0 / 0.9561 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8098, allocations: 1.125 kB / 0.9561 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.8099, allocations: 0 / 0.9561 GB, free: 15.45 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.002014/0.8119, allocations: 1.294 MB / 0.9574 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.8119, allocations: 10.31 kB / 0.9574 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007396/0.8127, allocations: 193.4 kB / 0.9576 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.8138, allocations: 0.8049 MB / 0.9584 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.8139, allocations: 43.59 kB / 0.9584 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.814, allocations: 56.66 kB / 0.9585 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.8151, allocations: 0.8266 MB / 0.9593 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.8152, allocations: 1.219 kB / 0.9593 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.8152, allocations: 23.19 kB / 0.9593 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.8152, allocations: 13.28 kB / 0.9593 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.8162, allocations: 0.581 MB / 0.9599 GB, free: 13.93 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.003744/0.8199, allocations: 4.256 MB / 0.964 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.8206, allocations: 460.6 kB / 0.9645 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.8211, allocations: 354.9 kB / 0.9648 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.8214, allocations: 199.8 kB / 0.965 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/0.822, allocations: 320.3 kB / 0.9653 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002639/0.8222, allocations: 36.56 kB / 0.9653 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.8222, allocations: 0 / 0.9653 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001359/0.8236, allocations: 0.7144 MB / 0.966 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.8237, allocations: 81.61 kB / 0.9661 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.825, allocations: 1.158 MB / 0.9672 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.8251, allocations: 34.89 kB / 0.9673 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.8255, allocations: 490.6 kB / 0.9677 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.8256, allocations: 117.6 kB / 0.9679 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.8256, allocations: 47.12 kB / 0.9679 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.8257, allocations: 330.9 kB / 0.9682 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.8262, allocations: 235.1 kB / 0.9684 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.8268, allocations: 0.5405 MB / 0.969 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.8277, allocations: 0.7041 MB / 0.9697 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8277, allocations: 0 / 0.9697 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001151/0.8289, allocations: 0.7792 MB / 0.9704 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.8291, allocations: 273.7 kB / 0.9707 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8291, allocations: 6.25 kB / 0.9707 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.8291, allocations: 14 kB / 0.9707 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.8296, allocations: 114.9 kB / 0.9708 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.8297, allocations: 6.5 kB / 0.9708 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.8306, allocations: 83.47 kB / 0.9709 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.8306, allocations: 23.75 kB / 0.9709 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.8306, allocations: 9.688 kB / 0.9709 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008267/0.8315, allocations: 0.5818 MB / 0.9715 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8315, allocations: 8.672 kB / 0.9715 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.8315, allocations: 6.969 kB / 0.9715 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.832, allocations: 116.8 kB / 0.9716 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.832, allocations: 9.156 kB / 0.9716 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.8327, allocations: 76.05 kB / 0.9717 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.8328, allocations: 26.14 kB / 0.9717 GB, free: 7.523 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 (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.0005113/0.8333, allocations: 472.3 kB / 0.9722 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.8334, allocations: 102.3 kB / 0.9723 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.8344, allocations: 0.555 MB / 0.9728 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.8344, allocations: 8.219 kB / 0.9728 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8344, allocations: 5.219 kB / 0.9728 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.8344, allocations: 3.984 kB / 0.9728 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.8365, allocations: 1.509 MB / 0.9743 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.8365, allocations: 2.531 kB / 0.9743 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.8369, allocations: 70.94 kB / 0.9744 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.8369, allocations: 7.906 kB / 0.9744 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.8369, allocations: 11.66 kB / 0.9744 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.8369, allocations: 10.77 kB / 0.9744 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8369, allocations: 6.562 kB / 0.9744 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.8378, allocations: 0.661 MB / 0.9751 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.8381, allocations: 235.3 kB / 0.9753 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.8383, allocations: 16.33 kB / 0.9753 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.8389, allocations: 51.06 kB / 0.9753 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.839, allocations: 40.28 kB / 0.9754 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.839, allocations: 11.56 kB / 0.9754 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008892/0.8399, allocations: 0.8168 MB / 0.9762 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8399, allocations: 0 / 0.9762 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001067/0.841, allocations: 427.8 kB / 0.9766 GB, free: 5.414 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 (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.0003848/0.8414, allocations: 169 kB / 0.9768 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.8427, allocations: 0.9088 MB / 0.9776 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8427, allocations: 0 / 0.9776 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.8431, allocations: 240.3 kB / 0.9779 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/0.8465, allocations: 0.6378 MB / 0.9785 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.8492, allocations: 2.078 MB / 0.9805 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.8499, allocations: 1.176 MB / 0.9817 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001102/0.851, allocations: 416.8 kB / 0.9821 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.8512, allocations: 74.31 kB / 0.9821 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.8512, allocations: 0 / 0.9821 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of Templates: time 0.02881/0.88, allocations: 19.11 MB / 1.001 GB, free: 9.113 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: