Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009343/0.0009342, allocations: 177.8 kB / 325.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205 MB / 0.576 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006793/0.0006792, allocations: 85.95 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 9.594 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1363/0.2834, allocations: 159.2 MB / 1.052 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004583/0.288, allocations: 3.688 MB / 1.055 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.2883, allocations: 11.94 kB / 1.055 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.2888, allocations: 127.2 kB / 1.055 GB, free: 476 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.3539/0.6427, allocations: 0.493 MB / 1.056 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.6442, allocations: 387.2 kB / 1.056 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.647, allocations: 3.517 MB / 1.06 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.6495, allocations: 2.222 MB / 1.062 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.6511, allocations: 0.8729 MB / 1.063 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00097/0.6521, allocations: 0.7327 MB / 1.063 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.6522, allocations: 34.31 kB / 1.063 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.6538, allocations: 0.8045 MB / 1.064 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.6542, allocations: 287.8 kB / 1.064 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.6549, allocations: 0.5141 MB / 1.065 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.6568, allocations: 1.411 MB / 1.066 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6568, allocations: 0 / 1.066 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6568, allocations: 0.75 kB / 1.066 GB, free: 1.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.6568, allocations: 0 / 1.066 GB, free: 1.781 MB / 0.698 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.002161/0.659, allocations: 1.332 MB / 1.068 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.659, allocations: 9.562 kB / 1.068 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.6592, allocations: 96.06 kB / 1.068 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007113/0.6599, allocations: 182.6 kB / 1.068 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.6613, allocations: 0.8415 MB / 1.069 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.6613, allocations: 46.19 kB / 1.069 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.6614, allocations: 62.66 kB / 1.069 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.6627, allocations: 0.8315 MB / 1.07 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6628, allocations: 2.938 kB / 1.07 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.6628, allocations: 25.09 kB / 1.07 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.6628, allocations: 13.72 kB / 1.07 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6639, allocations: 0.5764 MB / 1.07 GB, free: 16.27 MB / 0.7136 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.003645/0.6675, allocations: 4.26 MB / 1.074 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.6683, allocations: 454.9 kB / 1.075 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.6688, allocations: 355 kB / 1.075 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.6691, allocations: 193.7 kB / 1.075 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005238/0.6697, allocations: 323.4 kB / 1.076 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002193/0.6699, allocations: 31.25 kB / 1.076 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.6699, allocations: 0 / 1.076 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001413/0.6713, allocations: 0.7186 MB / 1.076 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.6714, allocations: 99.78 kB / 1.077 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.6726, allocations: 1.161 MB / 1.078 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.6727, allocations: 37.95 kB / 1.078 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.673, allocations: 494.4 kB / 1.078 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.673, allocations: 111.4 kB / 1.078 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.6731, allocations: 43.14 kB / 1.078 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6732, allocations: 326.4 kB / 1.079 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.6736, allocations: 237.4 kB / 1.079 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.6742, allocations: 0.5451 MB / 1.079 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009161/0.6751, allocations: 0.6908 MB / 1.08 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6751, allocations: 1.219 kB / 1.08 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001218/0.6763, allocations: 0.7807 MB / 1.081 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.6765, allocations: 279.1 kB / 1.081 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6765, allocations: 16.36 kB / 1.081 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.6766, allocations: 7.438 kB / 1.081 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.6771, allocations: 116.7 kB / 1.081 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.6771, allocations: 14.72 kB / 1.081 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.6779, allocations: 83.97 kB / 1.081 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.678, allocations: 27.44 kB / 1.081 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.014e-06/0.678, allocations: 3.812 kB / 1.081 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009002/0.6789, allocations: 0.5849 MB / 1.082 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6789, allocations: 5.125 kB / 1.082 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.6789, allocations: 9.062 kB / 1.082 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.6794, allocations: 124.7 kB / 1.082 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6794, allocations: 18.83 kB / 1.082 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/0.6802, allocations: 89.28 kB / 1.082 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.6802, allocations: 23.75 kB / 1.082 GB, free: 11.03 MB / 0.7136 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.0004411/0.6806, allocations: 461.6 kB / 1.083 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6808, allocations: 104.9 kB / 1.083 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008481/0.6816, allocations: 0.5602 MB / 1.083 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6816, allocations: 3.219 kB / 1.083 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6817, allocations: 3.938 kB / 1.083 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6817, allocations: 3.406 kB / 1.083 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.6835, allocations: 1.509 MB / 1.085 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6835, allocations: 0 / 1.085 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.6838, allocations: 81 kB / 1.085 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6839, allocations: 3 kB / 1.085 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.6839, allocations: 11.06 kB / 1.085 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6839, allocations: 3.344 kB / 1.085 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6839, allocations: 7.422 kB / 1.085 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.6848, allocations: 0.6734 MB / 1.086 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.6851, allocations: 231.4 kB / 1.086 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.6852, allocations: 6.875 kB / 1.086 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/0.6858, allocations: 67.42 kB / 1.086 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.6859, allocations: 32.08 kB / 1.086 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.686, allocations: 14.81 kB / 1.086 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008379/0.6868, allocations: 0.8284 MB / 1.087 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6868, allocations: 0 / 1.087 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001059/0.6879, allocations: 428 kB / 1.087 GB, free: 9.695 MB / 0.7136 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.001391/0.6893, allocations: 1.282 MB / 1.088 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.6905, allocations: 0.916 MB / 1.089 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6906, allocations: 0 / 1.089 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.6909, allocations: 240 kB / 1.089 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.694, allocations: 0.6374 MB / 1.09 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.707, allocations: 9.216 MB / 1.099 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.7077, allocations: 1.18 MB / 1.1 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001207/0.7089, allocations: 443.6 kB / 1.101 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.7093, allocations: 339.6 kB / 1.101 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.7093, allocations: 0 / 1.101 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.376/1.085, allocations: 28.04 MB / 1.128 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003811/1.086, allocations: 282.3 kB / 1.129 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.919, allocations: 7.562 kB / 1.129 GB, free: 10.6 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)