Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001222/0.001222, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 11.98 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5836, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1515/0.7351, allocations: 146.7 MB / 1.097 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004419/0.7396, allocations: 3.36 MB / 1.1 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.7399, allocations: 11.88 kB / 1.1 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.7403, allocations: 111.2 kB / 1.101 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.7413, allocations: 394.1 kB / 1.101 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.7424, allocations: 381 kB / 1.101 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003032/0.7454, allocations: 3.017 MB / 1.104 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.7482, allocations: 2.164 MB / 1.106 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.7501, allocations: 0.8598 MB / 1.107 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008917/0.751, allocations: 0.7079 MB / 1.108 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.152e-05/0.7511, allocations: 36 kB / 1.108 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.7522, allocations: 0.5574 MB / 1.108 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.7524, allocations: 282.9 kB / 1.109 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.7527, allocations: 229.1 kB / 1.109 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.7538, allocations: 1.037 MB / 1.11 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7538, allocations: 0 / 1.11 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7538, allocations: 0 / 1.11 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.7538, allocations: 0 / 1.11 GB, free: 15.82 MB / 0.8731 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.00201/0.7558, allocations: 1.346 MB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.7559, allocations: 8.031 kB / 1.111 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.756, allocations: 98.52 kB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007174/0.7567, allocations: 186.4 kB / 1.112 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.758, allocations: 0.8002 MB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.7581, allocations: 45 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.7582, allocations: 64 kB / 1.112 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.7593, allocations: 0.8208 MB / 1.113 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.7593, allocations: 7.938 kB / 1.113 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.7594, allocations: 16 kB / 1.113 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.7594, allocations: 16 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000899/0.7603, allocations: 0.5735 MB / 1.114 GB, free: 11.64 MB / 0.8731 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.003803/0.7641, allocations: 4.258 MB / 1.118 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.7648, allocations: 451.4 kB / 1.118 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.7653, allocations: 342.8 kB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.7656, allocations: 198.2 kB / 1.119 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/0.7662, allocations: 335 kB / 1.119 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000232/0.7664, allocations: 39.62 kB / 1.119 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.7664, allocations: 0 / 1.119 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001308/0.7677, allocations: 0.7109 MB / 1.12 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.7678, allocations: 81.11 kB / 1.12 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.7691, allocations: 1.151 MB / 1.121 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.7692, allocations: 41.69 kB / 1.121 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.7695, allocations: 484.4 kB / 1.122 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/0.7696, allocations: 114.4 kB / 1.122 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.7697, allocations: 12 kB / 1.122 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7698, allocations: 330 kB / 1.122 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.7702, allocations: 205 kB / 1.122 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.7708, allocations: 0.5228 MB / 1.123 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.7712, allocations: 323.5 kB / 1.123 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.7712, allocations: 0 / 1.123 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001108/0.7723, allocations: 0.7282 MB / 1.124 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.7725, allocations: 272.1 kB / 1.124 GB, free: 496 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7725, allocations: 8 kB / 1.124 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7726, allocations: 11.95 kB / 1.124 GB, free: 476 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.773, allocations: 123.7 kB / 1.124 GB, free: 352 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.7731, allocations: 11.94 kB / 1.124 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.7738, allocations: 91.75 kB / 1.124 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.7739, allocations: 24 kB / 1.124 GB, free: 224 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.7739, allocations: 4.109 kB / 1.124 GB, free: 220 kB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008977/0.7748, allocations: 0.583 MB / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7748, allocations: 8 kB / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.7748, allocations: 8 kB / 1.125 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.7752, allocations: 112.2 kB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.7752, allocations: 15.94 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/0.7759, allocations: 87.75 kB / 1.125 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.7759, allocations: 27.98 kB / 1.125 GB, free: 15.37 MB / 0.8887 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.0004627/0.7764, allocations: 472.6 kB / 1.126 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.7765, allocations: 98.78 kB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009235/0.7774, allocations: 0.5466 MB / 1.126 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7775, allocations: 4 kB / 1.126 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.7775, allocations: 0 / 1.126 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.7775, allocations: 3.984 kB / 1.126 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.7794, allocations: 1.511 MB / 1.128 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7795, allocations: 3.953 kB / 1.128 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.7798, allocations: 71.88 kB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.7798, allocations: 4 kB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.7798, allocations: 8 kB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7798, allocations: 4 kB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7798, allocations: 0 / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.7807, allocations: 0.6703 MB / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.781, allocations: 231.8 kB / 1.129 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.7811, allocations: 12 kB / 1.129 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.7816, allocations: 71.77 kB / 1.129 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.7817, allocations: 27.95 kB / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.7818, allocations: 23.94 kB / 1.129 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009412/0.7827, allocations: 0.8159 MB / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7827, allocations: 0 / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00101/0.7837, allocations: 427.4 kB / 1.13 GB, free: 10.23 MB / 0.8887 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.001372/0.7851, allocations: 1.297 MB / 1.131 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.7865, allocations: 0.8918 MB / 1.132 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7865, allocations: 0 / 1.132 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.7869, allocations: 240.8 kB / 1.132 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.7897, allocations: 0.6313 MB / 1.133 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.8007, allocations: 6.495 MB / 1.139 GB, free: 328 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/0.8015, allocations: 1.186 MB / 1.141 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001276/0.8028, allocations: 440 kB / 1.141 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.8032, allocations: 335.3 kB / 1.141 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of SimCode: time 7.61e-07/0.8033, allocations: 0 / 1.141 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04477/0.848, allocations: 28.52 MB / 1.169 GB, free: 2.262 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.8483, allocations: 251.8 kB / 1.169 GB, free: 1.926 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/3.109, allocations: 0 / 1.169 GB, free: 1.926 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat does not exist to compare? outputFormat=mat