Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.616/1.616, allocations: 287.4 MB / 302.6 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 185.3 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 93.22 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004231, allocations: 16.92 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1795, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4881/0.6676, allocations: 146.7 MB / 1.122 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003845/0.6715, allocations: 3.364 MB / 1.125 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.6719, allocations: 9.781 kB / 1.125 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.6723, allocations: 110.2 kB / 1.125 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.6735, allocations: 392.4 kB / 1.126 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.6745, allocations: 368.9 kB / 1.126 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002447/0.677, allocations: 3.058 MB / 1.129 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.6791, allocations: 2.207 MB / 1.131 GB, free: 15.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.6805, allocations: 0.8724 MB / 1.132 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006845/0.6812, allocations: 0.7033 MB / 1.133 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.041e-05/0.6813, allocations: 34.44 kB / 1.133 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.6824, allocations: 0.5579 MB / 1.133 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.6826, allocations: 279.5 kB / 1.134 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.6828, allocations: 229.6 kB / 1.134 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008602/0.6837, allocations: 1.043 MB / 1.135 GB, free: 15.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6837, allocations: 0 / 1.135 GB, free: 15.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6837, allocations: 0 / 1.135 GB, free: 15.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.6837, allocations: 0 / 1.135 GB, free: 15.38 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.001834/0.6856, allocations: 1.323 MB / 1.136 GB, free: 14.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6856, allocations: 12.97 kB / 1.136 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.6857, allocations: 95.7 kB / 1.136 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006508/0.6864, allocations: 191.7 kB / 1.137 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.6876, allocations: 0.8508 MB / 1.137 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.6877, allocations: 48.62 kB / 1.137 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.6878, allocations: 57.56 kB / 1.137 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.6889, allocations: 0.8212 MB / 1.138 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.6889, allocations: 4.969 kB / 1.138 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.6889, allocations: 21.22 kB / 1.138 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.689, allocations: 22.16 kB / 1.138 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.6898, allocations: 0.5705 MB / 1.139 GB, free: 13.8 MB / 0.698 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.003498/0.6933, allocations: 4.25 MB / 1.143 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.694, allocations: 451.1 kB / 1.143 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.6945, allocations: 355.5 kB / 1.144 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.6948, allocations: 199.2 kB / 1.144 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005013/0.6953, allocations: 334.2 kB / 1.144 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001961/0.6955, allocations: 38.47 kB / 1.144 GB, free: 9.992 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.6955, allocations: 1.062 kB / 1.144 GB, free: 9.992 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001319/0.6968, allocations: 0.7104 MB / 1.145 GB, free: 9.789 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.6969, allocations: 80.8 kB / 1.145 GB, free: 9.695 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.6981, allocations: 1.151 MB / 1.146 GB, free: 9.332 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.6982, allocations: 37.14 kB / 1.146 GB, free: 9.301 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.6985, allocations: 496.5 kB / 1.147 GB, free: 9.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.6986, allocations: 119.6 kB / 1.147 GB, free: 9.008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.6987, allocations: 7.625 kB / 1.147 GB, free: 9.008 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.6988, allocations: 325.8 kB / 1.147 GB, free: 8.695 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.6991, allocations: 209 kB / 1.147 GB, free: 8.648 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.6997, allocations: 0.5152 MB / 1.148 GB, free: 8.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.7005, allocations: 0.6353 MB / 1.148 GB, free: 7.895 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7005, allocations: 1.281 kB / 1.148 GB, free: 7.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001087/0.7016, allocations: 0.7224 MB / 1.149 GB, free: 7.648 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.7018, allocations: 284.5 kB / 1.149 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7018, allocations: 5.594 kB / 1.149 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.7018, allocations: 12.88 kB / 1.149 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.7023, allocations: 122.8 kB / 1.15 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.7023, allocations: 11.88 kB / 1.15 GB, free: 7.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.7031, allocations: 88 kB / 1.15 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.7032, allocations: 27.36 kB / 1.15 GB, free: 7.242 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.7032, allocations: 8.531 kB / 1.15 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008701/0.7041, allocations: 0.5787 MB / 1.15 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7041, allocations: 11.83 kB / 1.15 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.7041, allocations: 7.562 kB / 1.15 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.7045, allocations: 118 kB / 1.15 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.7046, allocations: 16.05 kB / 1.15 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.7053, allocations: 87.16 kB / 1.151 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.7053, allocations: 24.84 kB / 1.151 GB, free: 7.004 MB / 0.698 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000473/0.7058, allocations: 474.9 kB / 1.151 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.7059, allocations: 101.1 kB / 1.151 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008989/0.7068, allocations: 0.5453 MB / 1.152 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7069, allocations: 8.625 kB / 1.152 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7069, allocations: 3.984 kB / 1.152 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7069, allocations: 5.266 kB / 1.152 GB, free: 6.512 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.7089, allocations: 1.509 MB / 1.153 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7089, allocations: 2.281 kB / 1.153 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.7093, allocations: 82.47 kB / 1.153 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.7093, allocations: 2.625 kB / 1.153 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.7093, allocations: 8.719 kB / 1.153 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/0.7093, allocations: 7.844 kB / 1.153 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7093, allocations: 1.281 kB / 1.153 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.7102, allocations: 0.6711 MB / 1.154 GB, free: 5.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.7105, allocations: 236.2 kB / 1.154 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7106, allocations: 11.86 kB / 1.154 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/0.7112, allocations: 71.02 kB / 1.154 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.7113, allocations: 25.78 kB / 1.154 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.7113, allocations: 16.02 kB / 1.154 GB, free: 5.191 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009581/0.7123, allocations: 0.8102 MB / 1.155 GB, free: 4.926 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7123, allocations: 0 / 1.155 GB, free: 4.926 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001011/0.7133, allocations: 424.8 kB / 1.155 GB, free: 4.898 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/0.7147, allocations: 1.284 MB / 1.157 GB, free: 4.012 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.716, allocations: 0.88 MB / 1.158 GB, free: 3.719 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.716, allocations: 0 / 1.158 GB, free: 3.719 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.7163, allocations: 240.3 kB / 1.158 GB, free: 3.664 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/0.7195, allocations: 0.6299 MB / 1.158 GB, free: 3.434 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009948/0.7294, allocations: 6.499 MB / 1.165 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.7301, allocations: 1.179 MB / 1.166 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001182/0.7313, allocations: 441.6 kB / 1.166 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.7317, allocations: 339.1 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.7317, allocations: 0 / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6577/1.389, allocations: 28.52 MB / 1.194 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/1.39, allocations: 252.5 kB / 1.195 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.955, allocations: 0 / 1.195 GB, free: 8.961 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)