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.0008894/0.0008894, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009631/0.0009631, allocations: 177.3 kB / 15.95 MB, free: 216 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.375/2.375, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003186, allocations: 11.98 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6626, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.147/0.8096, allocations: 135.7 MB / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004573/0.8142, allocations: 3.111 MB / 1.089 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.8146, allocations: 19.88 kB / 1.089 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.8154, allocations: 179.2 kB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.817, allocations: 0.4946 MB / 1.09 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.8184, allocations: 456.9 kB / 1.09 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00215/0.8205, allocations: 1.524 MB / 1.092 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002941/0.8235, allocations: 2.184 MB / 1.094 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.8248, allocations: 0.7006 MB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000913/0.8258, allocations: 493.9 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.826, allocations: 36 kB / 1.095 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.827, allocations: 415.4 kB / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.8274, allocations: 263.1 kB / 1.096 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.8278, allocations: 229.1 kB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.829, allocations: 0.9898 MB / 1.097 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.829, allocations: 3.938 kB / 1.097 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.829, allocations: 7.938 kB / 1.097 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.439e-05/0.829, allocations: 0 / 1.097 GB, free: 13.02 MB / 0.8575 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.002779/0.8318, allocations: 1.311 MB / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8319, allocations: 8.031 kB / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.8321, allocations: 94.52 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009179/0.833, allocations: 198.4 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.8349, allocations: 0.8002 MB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.8349, allocations: 41 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/0.835, allocations: 60 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.8363, allocations: 0.8161 MB / 1.1 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.8364, allocations: 4 kB / 1.1 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.8364, allocations: 20 kB / 1.1 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.8364, allocations: 19.94 kB / 1.1 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009935/0.8374, allocations: 0.5735 MB / 1.101 GB, free: 8.871 MB / 0.8575 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.004743/0.8422, allocations: 4.251 MB / 1.105 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.843, allocations: 463.9 kB / 1.105 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/0.8431, allocations: 11.98 kB / 1.105 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005502/0.8436, allocations: 331.9 kB / 1.106 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003059/0.844, allocations: 35.59 kB / 1.106 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/0.844, allocations: 0 / 1.106 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.001578/0.8455, allocations: 0.7169 MB / 1.106 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.8456, allocations: 106.8 kB / 1.107 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.8472, allocations: 1.155 MB / 1.108 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.8473, allocations: 37.7 kB / 1.108 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.8477, allocations: 488.4 kB / 1.108 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.8479, allocations: 110.4 kB / 1.108 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.8479, allocations: 12 kB / 1.108 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.848, allocations: 334.1 kB / 1.109 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.8484, allocations: 201 kB / 1.109 GB, free: 312 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.849, allocations: 0.5229 MB / 1.109 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.8495, allocations: 313.6 kB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8495, allocations: 4 kB / 1.11 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001156/0.8506, allocations: 0.7372 MB / 1.11 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008824/0.8515, allocations: 2.134 MB / 1.112 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.8516, allocations: 4 kB / 1.112 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.8516, allocations: 12 kB / 1.112 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.8521, allocations: 115.8 kB / 1.113 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.8521, allocations: 15.92 kB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008634/0.853, allocations: 95.69 kB / 1.113 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.8531, allocations: 24 kB / 1.113 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.8531, allocations: 8 kB / 1.113 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009473/0.8541, allocations: 0.5846 MB / 1.113 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8541, allocations: 8 kB / 1.113 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.8541, allocations: 8 kB / 1.113 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.8546, allocations: 116.3 kB / 1.113 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.8546, allocations: 15.94 kB / 1.113 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000824/0.8554, allocations: 91.75 kB / 1.113 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.8555, allocations: 20 kB / 1.113 GB, free: 11.17 MB / 0.8731 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.0005091/0.856, allocations: 476.6 kB / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.8561, allocations: 98.78 kB / 1.114 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008804/0.857, allocations: 0.522 MB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.857, allocations: 4 kB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.857, allocations: 4 kB / 1.115 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.8571, allocations: 0 / 1.115 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.8586, allocations: 1.166 MB / 1.116 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.8587, allocations: 0 / 1.116 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.859, allocations: 76.06 kB / 1.116 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.859, allocations: 4 kB / 1.116 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.8591, allocations: 11.98 kB / 1.116 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.8591, allocations: 11.88 kB / 1.116 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.8591, allocations: 4 kB / 1.116 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.86, allocations: 0.6868 MB / 1.116 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.8604, allocations: 227.8 kB / 1.117 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.8605, allocations: 8 kB / 1.117 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.8611, allocations: 67.77 kB / 1.117 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.8612, allocations: 39.95 kB / 1.117 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.8613, allocations: 8 kB / 1.117 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001034/0.8623, allocations: 0.812 MB / 1.118 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8623, allocations: 0 / 1.118 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001142/0.8635, allocations: 435.4 kB / 1.118 GB, free: 6.344 MB / 0.8731 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.001641/0.8651, allocations: 1.785 MB / 1.12 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.8666, allocations: 0.8792 MB / 1.121 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8666, allocations: 0 / 1.121 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.867, allocations: 243.2 kB / 1.121 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/0.8702, allocations: 0.6384 MB / 1.121 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.8849, allocations: 9.795 MB / 1.131 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/0.8857, allocations: 1.197 MB / 1.132 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001274/0.887, allocations: 440 kB / 1.133 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.8875, allocations: 335.3 kB / 1.133 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of SimCode: time 1.323e-06/0.8875, allocations: 3.938 kB / 1.133 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.9349, allocations: 28.49 MB / 1.161 GB, free: 10.52 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.9351, allocations: 245.8 kB / 1.161 GB, free: 10.28 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.12, allocations: 0 / 1.161 GB, free: 10.28 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