Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.282/2.282, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001745/0.001745, allocations: 180.9 kB / 496.1 MB, free: 12.87 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.733/1.733, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0009975/0.0009973, allocations: 91.95 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.176e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.84/6.163, allocations: 1.873 GB / 3.091 GB, free: 364.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/6.163, allocations: 88.3 kB / 3.092 GB, free: 364.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.341/12.5, allocations: 1.813 GB / 4.904 GB, free: 350.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.643e-06/12.5, allocations: 0 / 4.904 GB, free: 350.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.542e-05/12.5, allocations: 30.23 kB / 4.904 GB, free: 350.5 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.001794/12.51, allocations: 1.15 MB / 4.905 GB, free: 349.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/12.51, allocations: 17.97 kB / 4.905 GB, free: 349.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/12.51, allocations: 94.47 kB / 4.905 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/12.51, allocations: 180.3 kB / 4.906 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/12.51, allocations: 1.097 MB / 4.907 GB, free: 349.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/12.51, allocations: 43.38 kB / 4.907 GB, free: 349.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/12.51, allocations: 63.44 kB / 4.907 GB, free: 349.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008908/12.51, allocations: 0.7403 MB / 4.907 GB, free: 349.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/12.51, allocations: 7.516 kB / 4.907 GB, free: 349.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/12.51, allocations: 27.41 kB / 4.907 GB, free: 349.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/12.51, allocations: 11.16 kB / 4.907 GB, free: 349.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005919/12.51, allocations: 478.3 kB / 4.908 GB, free: 349.2 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.003615/12.51, allocations: 4.591 MB / 4.912 GB, free: 345.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/12.52, allocations: 385.5 kB / 4.913 GB, free: 345.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/12.52, allocations: 220.2 kB / 4.913 GB, free: 345.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/12.52, allocations: 191.3 kB / 4.913 GB, free: 345.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/12.52, allocations: 276.5 kB / 4.913 GB, free: 345.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/12.52, allocations: 0 / 4.913 GB, free: 345.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001314/12.52, allocations: 0.6703 MB / 4.914 GB, free: 345.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/12.52, allocations: 81.05 kB / 4.914 GB, free: 345.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/12.52, allocations: 0.9765 MB / 4.915 GB, free: 344.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/12.52, allocations: 41.55 kB / 4.915 GB, free: 344.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/12.52, allocations: 494.6 kB / 4.916 GB, free: 344.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.991e-05/12.52, allocations: 110.1 kB / 4.916 GB, free: 344.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/12.52, allocations: 9.531 kB / 4.916 GB, free: 344.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/12.52, allocations: 328.2 kB / 4.916 GB, free: 344 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/12.52, allocations: 168.2 kB / 4.916 GB, free: 344 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/12.52, allocations: 489.2 kB / 4.917 GB, free: 343.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/12.52, allocations: 277.7 kB / 4.917 GB, free: 343.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/12.52, allocations: 3 kB / 4.917 GB, free: 343.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001157/12.52, allocations: 0.8587 MB / 4.918 GB, free: 343.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004316/12.52, allocations: 2.125 MB / 4.92 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/12.52, allocations: 7.781 kB / 4.92 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005129/12.52, allocations: 235.3 kB / 4.92 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/12.52, allocations: 58.84 kB / 4.92 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008245/12.52, allocations: 1.009 MB / 4.921 GB, free: 340.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008584/12.52, allocations: 103.2 kB / 4.921 GB, free: 340.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/12.52, allocations: 29.88 kB / 4.921 GB, free: 340.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/12.52, allocations: 3.656 kB / 4.921 GB, free: 340.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001081/12.53, allocations: 0.6879 MB / 4.922 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/12.53, allocations: 3.562 kB / 4.922 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/12.53, allocations: 208.8 kB / 4.922 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/12.53, allocations: 68.92 kB / 4.922 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/12.53, allocations: 3.069 MB / 4.925 GB, free: 337.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008846/12.53, allocations: 95.38 kB / 4.925 GB, free: 337.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/12.53, allocations: 27.75 kB / 4.925 GB, free: 337.7 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/12.53, allocations: 143.6 kB / 4.925 GB, free: 337.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/12.53, allocations: 100.9 kB / 4.926 GB, free: 337.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/12.53, allocations: 0.6775 MB / 4.926 GB, free: 337.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/12.53, allocations: 7.766 kB / 4.926 GB, free: 337.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/12.53, allocations: 0 / 4.926 GB, free: 337.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/12.53, allocations: 2.844 kB / 4.926 GB, free: 337.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/12.53, allocations: 1.567 MB / 4.928 GB, free: 336.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/12.53, allocations: 6.688 kB / 4.928 GB, free: 336.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/12.53, allocations: 27.23 kB / 4.928 GB, free: 336.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/12.53, allocations: 227 kB / 4.928 GB, free: 336.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/12.53, allocations: 11.12 kB / 4.928 GB, free: 336.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006698/12.53, allocations: 0.9679 MB / 4.929 GB, free: 335.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/12.53, allocations: 0 / 4.929 GB, free: 335.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/12.54, allocations: 0.8794 MB / 4.93 GB, free: 335.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/12.54, allocations: 218.2 kB / 4.93 GB, free: 335 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/12.54, allocations: 10.06 kB / 4.93 GB, free: 335 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/12.54, allocations: 62.72 kB / 4.93 GB, free: 335 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/12.54, allocations: 27.14 kB / 4.93 GB, free: 335 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/12.54, allocations: 11.66 kB / 4.93 GB, free: 335 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008879/12.54, allocations: 0.7763 MB / 4.931 GB, free: 334.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/12.54, allocations: 0 / 4.931 GB, free: 334.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00165/12.54, allocations: 0.511 MB / 4.931 GB, free: 334.6 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00243/12.54, allocations: 2.676 MB / 4.934 GB, free: 333 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001612/12.54, allocations: 1.023 MB / 4.935 GB, free: 332.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/12.54, allocations: 0 / 4.935 GB, free: 332.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/12.54, allocations: 216.9 kB / 4.935 GB, free: 332.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/12.55, allocations: 464.8 kB / 4.936 GB, free: 332.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/12.55, allocations: 1.65 MB / 4.937 GB, free: 331.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/12.55, allocations: 1.209 MB / 4.938 GB, free: 331 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001662/12.55, allocations: 0.7404 MB / 4.939 GB, free: 331 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/12.55, allocations: 289.5 kB / 4.939 GB, free: 330.7 MB / 1.167 GB Notification: Performance of SimCode: time 7.82e-07/12.55, allocations: 0 / 4.939 GB, free: 330.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07023/12.62, allocations: 46.35 MB / 4.985 GB, free: 300.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/12.62, allocations: 259.7 kB / 4.985 GB, free: 300.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/16.21, allocations: 0 / 4.985 GB, free: 300.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat does not exist to compare? outputFormat=mat