Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.253/2.253, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001258/0.001258, allocations: 184.1 kB / 496.1 MB, free: 12.86 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.59/1.59, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.00112/0.00112, allocations: 91.91 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.777e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3559, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.013/6.369, allocations: 1.87 GB / 3.089 GB, free: 436.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/6.369, allocations: 90.16 kB / 3.089 GB, free: 436 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.788/13.16, allocations: 1.801 GB / 4.889 GB, free: 364.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.523e-06/13.16, allocations: 4.188 kB / 4.889 GB, free: 364.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001972/13.16, allocations: 27.39 kB / 4.889 GB, free: 364.3 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003327/13.16, allocations: 1.137 MB / 4.891 GB, free: 363.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/13.16, allocations: 10.39 kB / 4.891 GB, free: 363.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002765/13.16, allocations: 96.45 kB / 4.891 GB, free: 363.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/13.16, allocations: 183.8 kB / 4.891 GB, free: 363.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/13.17, allocations: 1.084 MB / 4.892 GB, free: 363.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/13.17, allocations: 48.23 kB / 4.892 GB, free: 363.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/13.17, allocations: 61.41 kB / 4.892 GB, free: 363.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/13.17, allocations: 0.7386 MB / 4.893 GB, free: 363.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/13.17, allocations: 5.781 kB / 4.893 GB, free: 363.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/13.17, allocations: 21.33 kB / 4.893 GB, free: 363.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/13.17, allocations: 13.75 kB / 4.893 GB, free: 363.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/13.17, allocations: 476.8 kB / 4.893 GB, free: 363.3 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.005395/13.17, allocations: 4.599 MB / 4.898 GB, free: 359.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/13.17, allocations: 387 kB / 4.898 GB, free: 359.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/13.17, allocations: 225.3 kB / 4.898 GB, free: 359.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/13.18, allocations: 197.6 kB / 4.899 GB, free: 359.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004624/13.18, allocations: 279.3 kB / 4.899 GB, free: 359.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/13.18, allocations: 0 / 4.899 GB, free: 359.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001101/13.18, allocations: 456.9 kB / 4.899 GB, free: 359.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/13.18, allocations: 86.84 kB / 4.899 GB, free: 359.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/13.18, allocations: 0.9728 MB / 4.9 GB, free: 359.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/13.18, allocations: 34.58 kB / 4.9 GB, free: 359.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/13.18, allocations: 495.5 kB / 4.901 GB, free: 359.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/13.18, allocations: 110.2 kB / 4.901 GB, free: 359 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/13.18, allocations: 9.25 kB / 4.901 GB, free: 359 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/13.18, allocations: 326.9 kB / 4.901 GB, free: 358.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/13.18, allocations: 159.8 kB / 4.901 GB, free: 358.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/13.18, allocations: 0.489 MB / 4.902 GB, free: 358.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/13.18, allocations: 276.7 kB / 4.902 GB, free: 358.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/13.18, allocations: 1.031 kB / 4.902 GB, free: 358.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001137/13.18, allocations: 0.647 MB / 4.903 GB, free: 358.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005294/13.18, allocations: 2.133 MB / 4.905 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/13.18, allocations: 5.188 kB / 4.905 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/13.18, allocations: 9.312 kB / 4.905 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/13.18, allocations: 115 kB / 4.905 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/13.18, allocations: 7.656 kB / 4.905 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/13.18, allocations: 105.1 kB / 4.905 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/13.18, allocations: 24.94 kB / 4.905 GB, free: 356 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/13.18, allocations: 4.75 kB / 4.905 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007708/13.18, allocations: 0.4951 MB / 4.906 GB, free: 355.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/13.18, allocations: 5.594 kB / 4.906 GB, free: 355.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/13.18, allocations: 7.969 kB / 4.906 GB, free: 355.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/13.19, allocations: 109.5 kB / 4.906 GB, free: 355.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/13.19, allocations: 10.22 kB / 4.906 GB, free: 355.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/13.19, allocations: 104 kB / 4.906 GB, free: 355.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/13.19, allocations: 23.06 kB / 4.906 GB, free: 355.9 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 (53): * Single equations (assignments): 52 * 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.0001559/13.19, allocations: 138.5 kB / 4.906 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/13.19, allocations: 101.2 kB / 4.906 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008128/13.19, allocations: 470 kB / 4.906 GB, free: 355.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/13.19, allocations: 3.875 kB / 4.906 GB, free: 355.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/13.19, allocations: 5.453 kB / 4.906 GB, free: 355.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/13.19, allocations: 0 / 4.906 GB, free: 355.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/13.19, allocations: 1.354 MB / 4.908 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/13.19, allocations: 5.469 kB / 4.908 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/13.19, allocations: 67.55 kB / 4.908 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/13.19, allocations: 2.656 kB / 4.908 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/13.19, allocations: 12.2 kB / 4.908 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/13.19, allocations: 2.969 kB / 4.908 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/13.19, allocations: 2.844 kB / 4.908 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/13.19, allocations: 0.6553 MB / 4.909 GB, free: 354.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/13.19, allocations: 223.7 kB / 4.909 GB, free: 354.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/13.19, allocations: 8.281 kB / 4.909 GB, free: 354.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/13.19, allocations: 54.05 kB / 4.909 GB, free: 354.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/13.19, allocations: 34.78 kB / 4.909 GB, free: 354.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/13.19, allocations: 19.5 kB / 4.909 GB, free: 354.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001174/13.19, allocations: 0.7705 MB / 4.91 GB, free: 354.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/13.19, allocations: 0 / 4.91 GB, free: 354.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001902/13.2, allocations: 482.5 kB / 4.91 GB, free: 354.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 (31): * Single equations (assignments): 29 * 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.002659/13.2, allocations: 2.473 MB / 4.912 GB, free: 353.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001316/13.2, allocations: 0.7809 MB / 4.913 GB, free: 353 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/13.2, allocations: 0 / 4.913 GB, free: 353 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/13.2, allocations: 183.9 kB / 4.913 GB, free: 353 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/13.2, allocations: 462.6 kB / 4.914 GB, free: 353 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/13.21, allocations: 1.653 MB / 4.915 GB, free: 352.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/13.21, allocations: 1.196 MB / 4.917 GB, free: 351.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002407/13.21, allocations: 0.8406 MB / 4.917 GB, free: 351.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/13.21, allocations: 307.7 kB / 4.918 GB, free: 351.9 MB / 1.167 GB Notification: Performance of SimCode: time 6.61e-07/13.21, allocations: 0 / 4.918 GB, free: 351.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07563/13.28, allocations: 42.96 MB / 4.96 GB, free: 349.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/13.28, allocations: 221.3 kB / 4.96 GB, free: 348.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/16.83, allocations: 0 / 4.96 GB, free: 348.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat does not exist to compare? outputFormat=mat