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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.0009628/0.0009628, allocations: 172.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001001/0.001, allocations: 87.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.774e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2879, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.306/5.594, allocations: 1.872 GB / 3.084 GB, free: 360.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/5.594, allocations: 91.62 kB / 3.084 GB, free: 360.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.05/11.64, allocations: 1.814 GB / 4.899 GB, free: 342.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.783e-06/11.64, allocations: 2.938 kB / 4.899 GB, free: 342.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001089/11.64, allocations: 37.19 kB / 4.899 GB, free: 342.5 MB / 1.151 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.00345/11.65, allocations: 1.233 MB / 4.9 GB, free: 341.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/11.65, allocations: 7.844 kB / 4.9 GB, free: 341.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/11.65, allocations: 94.98 kB / 4.9 GB, free: 341.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009176/11.65, allocations: 193.6 kB / 4.9 GB, free: 341.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/11.65, allocations: 1.396 MB / 4.902 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/11.65, allocations: 49.98 kB / 4.902 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/11.65, allocations: 64.34 kB / 4.902 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009989/11.65, allocations: 0.7552 MB / 4.903 GB, free: 340.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/11.65, allocations: 7.781 kB / 4.903 GB, free: 340.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/11.65, allocations: 23.78 kB / 4.903 GB, free: 340.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/11.65, allocations: 11.72 kB / 4.903 GB, free: 340.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/11.65, allocations: 0.4924 MB / 4.903 GB, free: 340.6 MB / 1.151 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.00347/11.66, allocations: 4.228 MB / 4.907 GB, free: 337.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/11.66, allocations: 373.2 kB / 4.908 GB, free: 337.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/11.66, allocations: 308.3 kB / 4.908 GB, free: 337 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/11.66, allocations: 195.6 kB / 4.908 GB, free: 336.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/11.66, allocations: 289.6 kB / 4.908 GB, free: 336.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003166/11.66, allocations: 34.41 kB / 4.908 GB, free: 336.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/11.66, allocations: 0 / 4.908 GB, free: 336.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.000856/11.66, allocations: 492.5 kB / 4.909 GB, free: 336.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/11.66, allocations: 79.89 kB / 4.909 GB, free: 336.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/11.66, allocations: 1.013 MB / 4.91 GB, free: 336.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/11.66, allocations: 37.11 kB / 4.91 GB, free: 336 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/11.66, allocations: 488.2 kB / 4.91 GB, free: 335.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/11.66, allocations: 114.5 kB / 4.91 GB, free: 335.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/11.66, allocations: 7.969 kB / 4.911 GB, free: 335.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/11.66, allocations: 329.3 kB / 4.911 GB, free: 335.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/11.66, allocations: 182.4 kB / 4.911 GB, free: 335.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/11.66, allocations: 0.4911 MB / 4.911 GB, free: 334.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/11.66, allocations: 289.2 kB / 4.912 GB, free: 334.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/11.66, allocations: 3.656 kB / 4.912 GB, free: 334.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007817/11.66, allocations: 0.6626 MB / 4.912 GB, free: 334.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003693/11.66, allocations: 2.142 MB / 4.914 GB, free: 332.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/11.66, allocations: 7.625 kB / 4.914 GB, free: 332.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/11.66, allocations: 7.906 kB / 4.915 GB, free: 332.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/11.66, allocations: 116.1 kB / 4.915 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/11.66, allocations: 19.56 kB / 4.915 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/11.67, allocations: 84.83 kB / 4.915 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/11.67, allocations: 33.06 kB / 4.915 GB, free: 332.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/11.67, allocations: 4.406 kB / 4.915 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000613/11.67, allocations: 0.5271 MB / 4.915 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/11.67, allocations: 11.56 kB / 4.915 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/11.67, allocations: 7.656 kB / 4.915 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/11.67, allocations: 108 kB / 4.915 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/11.67, allocations: 18.84 kB / 4.915 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/11.67, allocations: 93.12 kB / 4.915 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/11.67, allocations: 25.11 kB / 4.916 GB, free: 331.9 MB / 1.151 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.0001109/11.67, allocations: 138.7 kB / 4.916 GB, free: 331.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/11.67, allocations: 102.1 kB / 4.916 GB, free: 331.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/11.67, allocations: 0.4955 MB / 4.916 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/11.67, allocations: 7.469 kB / 4.916 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/11.67, allocations: 0 / 4.916 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/11.67, allocations: 0 / 4.916 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/11.67, allocations: 1.419 MB / 4.918 GB, free: 330.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/11.67, allocations: 3.25 kB / 4.918 GB, free: 330.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/11.67, allocations: 77.78 kB / 4.918 GB, free: 330.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/11.67, allocations: 3.781 kB / 4.918 GB, free: 330.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/11.67, allocations: 10.53 kB / 4.918 GB, free: 330.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/11.67, allocations: 7.859 kB / 4.918 GB, free: 330.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/11.67, allocations: 0 / 4.918 GB, free: 330.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/11.67, allocations: 0.71 MB / 4.918 GB, free: 330.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/11.67, allocations: 227 kB / 4.919 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/11.67, allocations: 7.25 kB / 4.919 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/11.67, allocations: 69.61 kB / 4.919 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/11.67, allocations: 41.94 kB / 4.919 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/11.67, allocations: 18.89 kB / 4.919 GB, free: 330.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008017/11.67, allocations: 0.7969 MB / 4.92 GB, free: 329.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/11.67, allocations: 0 / 4.92 GB, free: 329.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001266/11.67, allocations: 0.492 MB / 4.92 GB, free: 329.7 MB / 1.151 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.002187/11.68, allocations: 2.591 MB / 4.923 GB, free: 328 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00104/11.68, allocations: 0.8307 MB / 4.923 GB, free: 327.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/11.68, allocations: 0 / 4.923 GB, free: 327.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/11.68, allocations: 211.7 kB / 4.924 GB, free: 327.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/11.68, allocations: 0.6292 MB / 4.924 GB, free: 327.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/11.68, allocations: 1.672 MB / 4.926 GB, free: 326.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/11.68, allocations: 1.204 MB / 4.927 GB, free: 325.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001783/11.69, allocations: 0.8095 MB / 4.928 GB, free: 325.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/11.69, allocations: 319.1 kB / 4.928 GB, free: 324.8 MB / 1.151 GB Notification: Performance of SimCode: time 7.71e-07/11.69, allocations: 0 / 4.928 GB, free: 324.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06043/11.75, allocations: 46.85 MB / 4.974 GB, free: 279 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/11.75, allocations: 220.6 kB / 4.974 GB, free: 278.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/15.25, allocations: 0 / 4.974 GB, free: 278.7 MB / 1.151 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