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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 390.3 MB / 402.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.3 MB / 0.7915 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 99.75 kB / 0.9318 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.85e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.336, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.068/5.404, allocations: 1.873 GB / 3.091 GB, free: 364.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/5.404, allocations: 93.11 kB / 3.092 GB, free: 364.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.509/11.91, allocations: 1.814 GB / 4.906 GB, free: 350.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.884e-06/11.91, allocations: 0 / 4.906 GB, free: 350.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.847e-05/11.91, allocations: 30.39 kB / 4.906 GB, free: 350.9 MB / 1.167 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.003256/11.92, allocations: 1.244 MB / 4.907 GB, free: 350.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/11.92, allocations: 11.03 kB / 4.907 GB, free: 350.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/11.92, allocations: 103.6 kB / 4.907 GB, free: 350.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008489/11.92, allocations: 188.2 kB / 4.908 GB, free: 350.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/11.92, allocations: 1.396 MB / 4.909 GB, free: 349.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/11.92, allocations: 40.97 kB / 4.909 GB, free: 349.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/11.92, allocations: 64.5 kB / 4.909 GB, free: 349.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009209/11.92, allocations: 0.7639 MB / 4.91 GB, free: 349.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/11.92, allocations: 7.547 kB / 4.91 GB, free: 349.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/11.92, allocations: 26.72 kB / 4.91 GB, free: 349.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/11.92, allocations: 15.06 kB / 4.91 GB, free: 349.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006588/11.92, allocations: 0.4891 MB / 4.91 GB, free: 349.6 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.003099/11.93, allocations: 4.217 MB / 4.914 GB, free: 346.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/11.93, allocations: 371.4 kB / 4.915 GB, free: 346.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/11.93, allocations: 313.8 kB / 4.915 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/11.93, allocations: 191.6 kB / 4.915 GB, free: 346 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/11.93, allocations: 291.8 kB / 4.915 GB, free: 345.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002403/11.93, allocations: 29.86 kB / 4.915 GB, free: 345.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/11.93, allocations: 0 / 4.915 GB, free: 345.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.0007912/11.93, allocations: 497 kB / 4.916 GB, free: 345.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/11.93, allocations: 83.92 kB / 4.916 GB, free: 345.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/11.93, allocations: 1.006 MB / 4.917 GB, free: 345.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/11.93, allocations: 33.45 kB / 4.917 GB, free: 345.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/11.93, allocations: 494.3 kB / 4.918 GB, free: 344.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/11.93, allocations: 113.7 kB / 4.918 GB, free: 344.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/11.93, allocations: 4 kB / 4.918 GB, free: 344.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.572e-05/11.93, allocations: 330.8 kB / 4.918 GB, free: 344.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/11.93, allocations: 175 kB / 4.918 GB, free: 344.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/11.93, allocations: 0.4993 MB / 4.919 GB, free: 343.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/11.93, allocations: 285.7 kB / 4.919 GB, free: 343.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/11.93, allocations: 2.562 kB / 4.919 GB, free: 343.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008014/11.93, allocations: 0.6711 MB / 4.92 GB, free: 343.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004057/11.93, allocations: 2.139 MB / 4.922 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/11.93, allocations: 3.938 kB / 4.922 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/11.93, allocations: 11.81 kB / 4.922 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/11.93, allocations: 123.5 kB / 4.922 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/11.93, allocations: 11.81 kB / 4.922 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/11.93, allocations: 91.95 kB / 4.922 GB, free: 341.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/11.93, allocations: 29.8 kB / 4.922 GB, free: 341.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/11.93, allocations: 3.594 kB / 4.922 GB, free: 341.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006486/11.93, allocations: 0.5189 MB / 4.922 GB, free: 341.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/11.93, allocations: 2.906 kB / 4.922 GB, free: 341.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/11.93, allocations: 13.81 kB / 4.922 GB, free: 341 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/11.93, allocations: 108.7 kB / 4.923 GB, free: 341 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/11.93, allocations: 15.06 kB / 4.923 GB, free: 341 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/11.94, allocations: 91.8 kB / 4.923 GB, free: 341 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/11.94, allocations: 23.5 kB / 4.923 GB, free: 341 MB / 1.167 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 () * 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.0001156/11.94, allocations: 147.1 kB / 4.923 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/11.94, allocations: 103.7 kB / 4.923 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006954/11.94, allocations: 0.4915 MB / 4.923 GB, free: 340.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/11.94, allocations: 3.969 kB / 4.923 GB, free: 340.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/11.94, allocations: 0 / 4.923 GB, free: 340.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/11.94, allocations: 7.875 kB / 4.923 GB, free: 340.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/11.94, allocations: 1.428 MB / 4.925 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/11.94, allocations: 7.219 kB / 4.925 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/11.94, allocations: 72.59 kB / 4.925 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/11.94, allocations: 7.781 kB / 4.925 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/11.94, allocations: 11.41 kB / 4.925 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/11.94, allocations: 0 / 4.925 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/11.94, allocations: 3.906 kB / 4.925 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/11.94, allocations: 0.7061 MB / 4.926 GB, free: 339.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/11.94, allocations: 226.4 kB / 4.926 GB, free: 339.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/11.94, allocations: 11.81 kB / 4.926 GB, free: 339.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/11.94, allocations: 70.02 kB / 4.926 GB, free: 339.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/11.94, allocations: 37.78 kB / 4.926 GB, free: 339.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/11.94, allocations: 14.5 kB / 4.926 GB, free: 339.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000852/11.94, allocations: 0.7955 MB / 4.927 GB, free: 338.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/11.94, allocations: 3.719 kB / 4.927 GB, free: 338.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001293/11.94, allocations: 0.4894 MB / 4.927 GB, free: 338.8 MB / 1.167 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) * 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.002146/11.94, allocations: 2.59 MB / 4.93 GB, free: 337.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009892/11.95, allocations: 0.8332 MB / 4.931 GB, free: 336.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/11.95, allocations: 3.625 kB / 4.931 GB, free: 336.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/11.95, allocations: 202.2 kB / 4.931 GB, free: 336.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/11.95, allocations: 0.6383 MB / 4.931 GB, free: 336.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/11.95, allocations: 1.672 MB / 4.933 GB, free: 336.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/11.95, allocations: 1.201 MB / 4.934 GB, free: 335.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001865/11.95, allocations: 0.8146 MB / 4.935 GB, free: 335.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/11.95, allocations: 317.9 kB / 4.935 GB, free: 335.1 MB / 1.167 GB Notification: Performance of SimCode: time 7.31e-07/11.95, allocations: 0 / 4.935 GB, free: 335.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06695/12.02, allocations: 46.85 MB / 4.981 GB, free: 304.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/12.02, allocations: 212 kB / 4.981 GB, free: 304.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/15.43, allocations: 7.453 kB / 4.981 GB, free: 304.4 MB / 1.167 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) 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