Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_latest_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.0007895/0.0007894, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009089/0.000909, allocations: 168.7 kB / 15.95 MB, free: 204 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.536/1.536, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.688/2.688, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006504, allocations: 15.98 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8587/0.8594, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.16/1.02, allocations: 146.7 MB / 1.124 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004251/1.024, allocations: 3.376 MB / 1.128 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/1.024, allocations: 7.938 kB / 1.128 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004963/1.025, allocations: 119.2 kB / 1.128 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/1.026, allocations: 388.9 kB / 1.128 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/1.027, allocations: 384.6 kB / 1.129 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002927/1.03, allocations: 3.007 MB / 1.132 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/1.032, allocations: 2.153 MB / 1.134 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/1.034, allocations: 0.8753 MB / 1.134 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/1.035, allocations: 0.704 MB / 1.135 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/1.035, allocations: 36 kB / 1.135 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/1.036, allocations: 0.5574 MB / 1.136 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/1.037, allocations: 278.9 kB / 1.136 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/1.037, allocations: 237.1 kB / 1.136 GB, free: 7 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/1.038, allocations: 1.037 MB / 1.137 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.038, allocations: 0 / 1.137 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.314e-06/1.038, allocations: 0 / 1.137 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.196e-05/1.038, allocations: 0 / 1.137 GB, free: 5.961 MB / 0.8887 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.002144/1.04, allocations: 1.334 MB / 1.139 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.041, allocations: 19.98 kB / 1.139 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/1.041, allocations: 94.52 kB / 1.139 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007527/1.041, allocations: 182.5 kB / 1.139 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.043, allocations: 0.8002 MB / 1.14 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/1.043, allocations: 49 kB / 1.14 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/1.043, allocations: 56 kB / 1.14 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/1.044, allocations: 0.8292 MB / 1.141 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/1.044, allocations: 0 / 1.141 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/1.044, allocations: 27.95 kB / 1.141 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/1.044, allocations: 12 kB / 1.141 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/1.045, allocations: 0.5696 MB / 1.141 GB, free: 1.793 MB / 0.8887 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.004144/1.049, allocations: 4.251 MB / 1.145 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/1.05, allocations: 454.1 kB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/1.05, allocations: 348.5 kB / 1.146 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/1.051, allocations: 198.2 kB / 1.146 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005642/1.051, allocations: 331.1 kB / 1.147 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002532/1.052, allocations: 35.73 kB / 1.147 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/1.052, allocations: 3.938 kB / 1.147 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001371/1.053, allocations: 0.7148 MB / 1.147 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.053, allocations: 85.23 kB / 1.147 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/1.054, allocations: 1.151 MB / 1.148 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/1.054, allocations: 41.69 kB / 1.149 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/1.055, allocations: 484.5 kB / 1.149 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/1.055, allocations: 122.3 kB / 1.149 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/1.055, allocations: 4 kB / 1.149 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.055, allocations: 326 kB / 1.149 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/1.055, allocations: 209 kB / 1.15 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/1.056, allocations: 0.5148 MB / 1.15 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/1.057, allocations: 322.4 kB / 1.15 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.057, allocations: 0 / 1.15 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001098/1.058, allocations: 0.7297 MB / 1.151 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/1.058, allocations: 278.8 kB / 1.151 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.058, allocations: 8 kB / 1.151 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.058, allocations: 12 kB / 1.151 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/1.058, allocations: 115.8 kB / 1.152 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.058, allocations: 11.94 kB / 1.152 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/1.059, allocations: 87.75 kB / 1.152 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/1.059, allocations: 24 kB / 1.152 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/1.059, allocations: 4 kB / 1.152 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009504/1.06, allocations: 0.5911 MB / 1.152 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.06, allocations: 4 kB / 1.152 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/1.06, allocations: 8 kB / 1.152 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/1.061, allocations: 112.2 kB / 1.152 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.061, allocations: 11.95 kB / 1.152 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/1.062, allocations: 95.75 kB / 1.152 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/1.062, allocations: 20 kB / 1.152 GB, free: 5.531 MB / 0.9044 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.0005694/1.062, allocations: 472.7 kB / 1.153 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/1.062, allocations: 98.78 kB / 1.153 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/1.063, allocations: 0.5504 MB / 1.154 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.063, allocations: 7.938 kB / 1.154 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.063, allocations: 7.953 kB / 1.154 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.063, allocations: 3.984 kB / 1.154 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/1.066, allocations: 1.495 MB / 1.155 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.066, allocations: 4.031 kB / 1.155 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/1.066, allocations: 79.78 kB / 1.155 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/1.066, allocations: 4 kB / 1.155 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/1.066, allocations: 8 kB / 1.155 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.066, allocations: 4 kB / 1.155 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.066, allocations: 7.938 kB / 1.155 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/1.067, allocations: 0.6665 MB / 1.156 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/1.067, allocations: 235.7 kB / 1.156 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/1.067, allocations: 8 kB / 1.156 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/1.068, allocations: 63.86 kB / 1.156 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.068, allocations: 39.83 kB / 1.156 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/1.068, allocations: 19.95 kB / 1.156 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001185/1.069, allocations: 0.812 MB / 1.157 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.069, allocations: 0 / 1.157 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001249/1.071, allocations: 431.4 kB / 1.157 GB, free: 388 kB / 0.9044 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.001508/1.072, allocations: 1.296 MB / 1.159 GB, free: 15.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001438/1.074, allocations: 0.8869 MB / 1.159 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.074, allocations: 0 / 1.159 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/1.074, allocations: 239.8 kB / 1.16 GB, free: 13.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/1.077, allocations: 0.6257 MB / 1.16 GB, free: 13.29 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.089, allocations: 6.49 MB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/1.09, allocations: 1.186 MB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001327/1.091, allocations: 448 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/1.092, allocations: 339.3 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of SimCode: time 1.002e-06/1.092, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/1.147, allocations: 28.52 MB / 1.196 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/1.147, allocations: 252.8 kB / 1.197 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.51, allocations: 0 / 1.197 GB, free: 8.07 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat does not exist to compare? outputFormat=mat