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.647/2.647, allocations: 390.5 MB / 398 MB, free: 11 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.001127/0.001127, allocations: 176.9 kB / 491.2 MB, free: 1.602 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.581/1.581, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008885/0.0008885, allocations: 97.84 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.292e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3314, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.847/6.178, allocations: 1.869 GB / 3.082 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/6.179, allocations: 93.47 kB / 3.082 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.063/13.24, allocations: 1.782 GB / 4.864 GB, free: 364 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/13.24, allocations: 0.8125 kB / 4.864 GB, free: 364 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001952/13.24, allocations: 36.91 kB / 4.864 GB, free: 364 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003185/13.25, allocations: 1.136 MB / 4.865 GB, free: 363.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/13.25, allocations: 9.812 kB / 4.865 GB, free: 363.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/13.25, allocations: 188.3 kB / 4.865 GB, free: 363.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/13.25, allocations: 1.077 MB / 4.866 GB, free: 363.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/13.25, allocations: 16.16 kB / 4.866 GB, free: 363.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/13.25, allocations: 40.03 kB / 4.866 GB, free: 363.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009061/13.25, allocations: 472 kB / 4.867 GB, free: 363.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/13.25, allocations: 0.6778 MB / 4.868 GB, free: 362.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/13.25, allocations: 6.031 kB / 4.868 GB, free: 362.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/13.25, allocations: 3.5 kB / 4.868 GB, free: 362.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/13.25, allocations: 10.97 kB / 4.868 GB, free: 362.9 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.003742/13.26, allocations: 4.467 MB / 4.872 GB, free: 359.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/13.26, allocations: 445.3 kB / 4.872 GB, free: 359.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/13.26, allocations: 239.5 kB / 4.873 GB, free: 359.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/13.26, allocations: 195.1 kB / 4.873 GB, free: 359.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/13.26, allocations: 265.2 kB / 4.873 GB, free: 359.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/13.26, allocations: 0 / 4.873 GB, free: 359.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001001/13.26, allocations: 489.8 kB / 4.873 GB, free: 359.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/13.26, allocations: 86.14 kB / 4.874 GB, free: 359.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/13.26, allocations: 0.8525 MB / 4.874 GB, free: 359 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/13.26, allocations: 25.7 kB / 4.874 GB, free: 358.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/13.26, allocations: 488.6 kB / 4.875 GB, free: 358.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/13.26, allocations: 107.2 kB / 4.875 GB, free: 358.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/13.26, allocations: 0 / 4.875 GB, free: 358.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.888e-05/13.26, allocations: 325.2 kB / 4.875 GB, free: 358.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/13.26, allocations: 187.1 kB / 4.875 GB, free: 358.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/13.26, allocations: 500 kB / 4.876 GB, free: 358 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/13.26, allocations: 263.9 kB / 4.876 GB, free: 358 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/13.26, allocations: 1.25 kB / 4.876 GB, free: 358 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009786/13.26, allocations: 0.6101 MB / 4.877 GB, free: 357.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004615/13.26, allocations: 2.128 MB / 4.879 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/13.26, allocations: 4.469 kB / 4.879 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/13.26, allocations: 11.78 kB / 4.879 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/13.26, allocations: 117.7 kB / 4.879 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/13.26, allocations: 10.89 kB / 4.879 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/13.26, allocations: 90.3 kB / 4.879 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/13.26, allocations: 27.59 kB / 4.879 GB, free: 355.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/13.26, allocations: 8.875 kB / 4.879 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000555/13.26, allocations: 419.4 kB / 4.88 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/13.26, allocations: 3.969 kB / 4.88 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/13.26, allocations: 7.906 kB / 4.88 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/13.26, allocations: 105.4 kB / 4.88 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/13.26, allocations: 12.31 kB / 4.88 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/13.27, allocations: 79.38 kB / 4.88 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/13.27, allocations: 25.88 kB / 4.88 GB, free: 355.7 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 (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.0001448/13.27, allocations: 123.5 kB / 4.88 GB, free: 355.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000534/13.27, allocations: 410.2 kB / 4.88 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/13.27, allocations: 97.38 kB / 4.88 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006779/13.27, allocations: 445.9 kB / 4.881 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/13.27, allocations: 7.766 kB / 4.881 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/13.27, allocations: 4.859 kB / 4.881 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/13.27, allocations: 0 / 4.881 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/13.27, allocations: 1.263 MB / 4.882 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/13.27, allocations: 7.281 kB / 4.882 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/13.27, allocations: 63.53 kB / 4.882 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/13.27, allocations: 6.719 kB / 4.882 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/13.27, allocations: 11.34 kB / 4.882 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/13.27, allocations: 3.281 kB / 4.882 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/13.27, allocations: 7.125 kB / 4.882 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/13.27, allocations: 0.6346 MB / 4.883 GB, free: 354.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/13.27, allocations: 207.6 kB / 4.883 GB, free: 354.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/13.27, allocations: 6.594 kB / 4.883 GB, free: 354.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/13.27, allocations: 51.95 kB / 4.883 GB, free: 354.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/13.27, allocations: 32.09 kB / 4.883 GB, free: 354.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/13.27, allocations: 12.95 kB / 4.883 GB, free: 354.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000738/13.27, allocations: 0.6701 MB / 4.884 GB, free: 354.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/13.27, allocations: 0 / 4.884 GB, free: 354.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001523/13.27, allocations: 444.7 kB / 4.884 GB, free: 354.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 (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.002275/13.28, allocations: 2.572 MB / 4.887 GB, free: 352.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001065/13.28, allocations: 0.7564 MB / 4.887 GB, free: 352.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/13.28, allocations: 0 / 4.887 GB, free: 352.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/13.28, allocations: 183.5 kB / 4.888 GB, free: 352.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/13.28, allocations: 399.2 kB / 4.888 GB, free: 352.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/13.28, allocations: 1.601 MB / 4.889 GB, free: 352.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/13.28, allocations: 1.205 MB / 4.891 GB, free: 351.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001898/13.28, allocations: 0.7498 MB / 4.891 GB, free: 351.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/13.28, allocations: 305.1 kB / 4.892 GB, free: 351.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.723e-06/13.28, allocations: 0 / 4.892 GB, free: 351.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06163/13.35, allocations: 29.89 MB / 4.921 GB, free: 347.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/13.35, allocations: 198.8 kB / 4.921 GB, free: 346.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/16.34, allocations: 1.719 kB / 4.921 GB, free: 346.9 MB / 1.151 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