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.662/2.662, allocations: 390.5 MB / 398 MB, free: 10.93 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.002/0.002, allocations: 180.8 kB / 491.2 MB, free: 1.543 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.693/1.693, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001034/0.001034, allocations: 94.52 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.049e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3674, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.715/6.082, allocations: 1.872 GB / 3.084 GB, free: 434.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/6.082, allocations: 90.09 kB / 3.084 GB, free: 434.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.379/12.46, allocations: 1.796 GB / 4.88 GB, free: 361.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.573e-06/12.46, allocations: 0 / 4.88 GB, free: 361.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001951/12.46, allocations: 31.14 kB / 4.88 GB, free: 361.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.0044/12.47, allocations: 1.237 MB / 4.882 GB, free: 361 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/12.47, allocations: 11.53 kB / 4.882 GB, free: 361 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/12.47, allocations: 190.2 kB / 4.882 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/12.47, allocations: 1.4 MB / 4.883 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/12.47, allocations: 15.34 kB / 4.883 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/12.47, allocations: 37.75 kB / 4.883 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007967/12.47, allocations: 490.1 kB / 4.884 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/12.47, allocations: 0.7003 MB / 4.884 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/12.47, allocations: 3 kB / 4.884 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/12.47, allocations: 3.25 kB / 4.884 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/12.47, allocations: 14.58 kB / 4.884 GB, free: 360.4 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.003758/12.48, allocations: 4.095 MB / 4.888 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/12.48, allocations: 435.8 kB / 4.889 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/12.48, allocations: 317.1 kB / 4.889 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/12.48, allocations: 195.2 kB / 4.889 GB, free: 357.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/12.48, allocations: 285.8 kB / 4.89 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003758/12.48, allocations: 12.41 kB / 4.89 GB, free: 357.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/12.48, allocations: 0 / 4.89 GB, free: 357.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001043/12.48, allocations: 0.5063 MB / 4.89 GB, free: 357.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/12.48, allocations: 87.62 kB / 4.89 GB, free: 357.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/12.48, allocations: 0.8529 MB / 4.891 GB, free: 357 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/12.48, allocations: 29.61 kB / 4.891 GB, free: 357 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/12.48, allocations: 481.7 kB / 4.891 GB, free: 356.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/12.48, allocations: 111 kB / 4.892 GB, free: 356.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/12.48, allocations: 0 / 4.892 GB, free: 356.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/12.48, allocations: 338.7 kB / 4.892 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/12.48, allocations: 185.5 kB / 4.892 GB, free: 356.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/12.48, allocations: 0.5069 MB / 4.893 GB, free: 356.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/12.48, allocations: 274 kB / 4.893 GB, free: 356.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/12.48, allocations: 3.719 kB / 4.893 GB, free: 356.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001341/12.49, allocations: 0.6319 MB / 4.893 GB, free: 356 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005077/12.49, allocations: 2.133 MB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/12.49, allocations: 3.719 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/12.49, allocations: 11.62 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/12.49, allocations: 114.9 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/12.49, allocations: 17.58 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/12.49, allocations: 80.81 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/12.49, allocations: 25.94 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/12.49, allocations: 5.188 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009227/12.49, allocations: 450.1 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/12.49, allocations: 7.812 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/12.49, allocations: 7.281 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/12.49, allocations: 115.5 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/12.49, allocations: 10 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/12.49, allocations: 82.72 kB / 4.896 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/12.49, allocations: 24.97 kB / 4.896 GB, free: 353.8 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.0002168/12.49, allocations: 130.7 kB / 4.897 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009158/12.49, allocations: 440.7 kB / 4.897 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/12.49, allocations: 95.03 kB / 4.897 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/12.49, allocations: 472.7 kB / 4.898 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/12.49, allocations: 3.906 kB / 4.898 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/12.49, allocations: 0 / 4.898 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/12.49, allocations: 0 / 4.898 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/12.5, allocations: 1.345 MB / 4.899 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/12.5, allocations: 6.406 kB / 4.899 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/12.5, allocations: 72.88 kB / 4.899 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/12.5, allocations: 11.7 kB / 4.899 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/12.5, allocations: 7.438 kB / 4.899 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/12.5, allocations: 3.594 kB / 4.899 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/12.5, allocations: 0 / 4.899 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/12.5, allocations: 0.669 MB / 4.9 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/12.5, allocations: 219.4 kB / 4.9 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/12.5, allocations: 3.844 kB / 4.9 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/12.5, allocations: 67.31 kB / 4.9 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/12.5, allocations: 29.8 kB / 4.9 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/12.5, allocations: 17.56 kB / 4.9 GB, free: 352.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001251/12.5, allocations: 0.6633 MB / 4.901 GB, free: 352.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/12.5, allocations: 0 / 4.901 GB, free: 352.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002285/12.5, allocations: 472 kB / 4.901 GB, free: 352.4 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.003485/12.51, allocations: 2.691 MB / 4.904 GB, free: 350.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001544/12.51, allocations: 0.8147 MB / 4.904 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/12.51, allocations: 0 / 4.904 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/12.51, allocations: 200.4 kB / 4.905 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/12.51, allocations: 0.5387 MB / 4.905 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/12.52, allocations: 1.614 MB / 4.907 GB, free: 350.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/12.52, allocations: 1.206 MB / 4.908 GB, free: 349.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003298/12.52, allocations: 0.7685 MB / 4.909 GB, free: 349.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/12.52, allocations: 316.2 kB / 4.909 GB, free: 349.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/12.52, allocations: 0 / 4.909 GB, free: 349.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07884/12.6, allocations: 32.13 MB / 4.94 GB, free: 335.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/12.6, allocations: 205.2 kB / 4.941 GB, free: 335.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/15.79, allocations: 0 / 4.941 GB, free: 335.3 MB / 1.151 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