Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.314/2.314, allocations: 390.5 MB / 398 MB, free: 10.94 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.001265/0.001265, allocations: 165 kB / 491.2 MB, free: 1.598 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.626/1.626, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009581/0.000958, allocations: 87.97 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.336e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3401, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.113/6.453, allocations: 1.869 GB / 3.082 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/6.454, allocations: 92 kB / 3.082 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.306/12.76, allocations: 1.784 GB / 4.866 GB, free: 365.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/12.76, allocations: 0 / 4.866 GB, free: 365.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00019/12.76, allocations: 36.12 kB / 4.866 GB, free: 365.9 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.004864/12.77, allocations: 1.235 MB / 4.867 GB, free: 365.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/12.77, allocations: 12.95 kB / 4.867 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/12.77, allocations: 185.5 kB / 4.867 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/12.77, allocations: 1.383 MB / 4.869 GB, free: 365.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/12.77, allocations: 15.72 kB / 4.869 GB, free: 365.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/12.77, allocations: 42.25 kB / 4.869 GB, free: 365.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009881/12.77, allocations: 494.4 kB / 4.869 GB, free: 365.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/12.77, allocations: 0.6953 MB / 4.87 GB, free: 364.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/12.77, allocations: 9.812 kB / 4.87 GB, free: 364.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/12.77, allocations: 2.734 kB / 4.87 GB, free: 364.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/12.77, allocations: 13.62 kB / 4.87 GB, free: 364.8 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.003536/12.78, allocations: 4.089 MB / 4.874 GB, free: 362.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/12.78, allocations: 464.6 kB / 4.874 GB, free: 362 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/12.78, allocations: 327.3 kB / 4.875 GB, free: 362 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/12.78, allocations: 191.2 kB / 4.875 GB, free: 361.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/12.78, allocations: 292 kB / 4.875 GB, free: 361.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003412/12.78, allocations: 13.5 kB / 4.875 GB, free: 361.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/12.78, allocations: 0 / 4.875 GB, free: 361.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001616/12.78, allocations: 0.7943 MB / 4.876 GB, free: 361.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/12.78, allocations: 88.42 kB / 4.876 GB, free: 361.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/12.78, allocations: 0.8495 MB / 4.877 GB, free: 361.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/12.78, allocations: 28.33 kB / 4.877 GB, free: 361.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/12.78, allocations: 495.7 kB / 4.877 GB, free: 361.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.714e-05/12.78, allocations: 109.8 kB / 4.877 GB, free: 361.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/12.78, allocations: 0 / 4.877 GB, free: 361.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.007e-05/12.78, allocations: 325.6 kB / 4.878 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/12.78, allocations: 200 kB / 4.878 GB, free: 360.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/12.78, allocations: 0.5182 MB / 4.878 GB, free: 360.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/12.78, allocations: 280.2 kB / 4.879 GB, free: 360.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/12.78, allocations: 1.438 kB / 4.879 GB, free: 360.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001788/12.79, allocations: 0.9295 MB / 4.879 GB, free: 360.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006883/12.79, allocations: 2.138 MB / 4.882 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/12.79, allocations: 6.281 kB / 4.882 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/12.79, allocations: 246.5 kB / 4.882 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/12.79, allocations: 68.83 kB / 4.882 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/12.79, allocations: 1.14 MB / 4.883 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/12.79, allocations: 76.69 kB / 4.883 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/12.79, allocations: 32.33 kB / 4.883 GB, free: 357.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/12.79, allocations: 3.969 kB / 4.883 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/12.79, allocations: 0.6401 MB / 4.884 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/12.79, allocations: 7.75 kB / 4.884 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/12.79, allocations: 225.1 kB / 4.884 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/12.79, allocations: 66.02 kB / 4.884 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/12.79, allocations: 2.884 MB / 4.887 GB, free: 356.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008959/12.79, allocations: 73.48 kB / 4.887 GB, free: 356.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/12.79, allocations: 20.97 kB / 4.887 GB, free: 356.3 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001506/12.8, allocations: 132.1 kB / 4.887 GB, free: 356.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008834/12.8, allocations: 0.6736 MB / 4.888 GB, free: 356.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/12.8, allocations: 91.62 kB / 4.888 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/12.8, allocations: 0.7042 MB / 4.888 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/12.8, allocations: 3.875 kB / 4.888 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/12.8, allocations: 1.641 kB / 4.888 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/12.8, allocations: 7.891 kB / 4.888 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/12.8, allocations: 1.573 MB / 4.89 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/12.8, allocations: 3.938 kB / 4.89 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/12.8, allocations: 41.84 kB / 4.89 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003224/12.8, allocations: 195.8 kB / 4.89 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/12.8, allocations: 6.766 kB / 4.89 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006814/12.8, allocations: 1.022 MB / 4.891 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/12.8, allocations: 7.781 kB / 4.891 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/12.8, allocations: 0.8959 MB / 4.892 GB, free: 354.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/12.8, allocations: 226.9 kB / 4.892 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/12.8, allocations: 7 kB / 4.892 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/12.8, allocations: 67.84 kB / 4.892 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/12.8, allocations: 24.39 kB / 4.892 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/12.8, allocations: 18.44 kB / 4.892 GB, free: 354.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000669/12.8, allocations: 0.6585 MB / 4.893 GB, free: 354.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/12.8, allocations: 3.094 kB / 4.893 GB, free: 354.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00156/12.8, allocations: 0.5063 MB / 4.894 GB, free: 354.3 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.002183/12.81, allocations: 2.759 MB / 4.896 GB, free: 352.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001435/12.81, allocations: 1.047 MB / 4.897 GB, free: 352.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/12.81, allocations: 0 / 4.897 GB, free: 352.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/12.81, allocations: 213.7 kB / 4.898 GB, free: 352.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/12.81, allocations: 0.5397 MB / 4.898 GB, free: 352.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/12.81, allocations: 1.62 MB / 4.9 GB, free: 352.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/12.81, allocations: 1.205 MB / 4.901 GB, free: 351.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001584/12.82, allocations: 0.6633 MB / 4.901 GB, free: 351.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/12.82, allocations: 297.3 kB / 4.902 GB, free: 351.4 MB / 1.151 GB Notification: Performance of SimCode: time 7.81e-07/12.82, allocations: 0 / 4.902 GB, free: 351.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05732/12.87, allocations: 33.63 MB / 4.935 GB, free: 341.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/12.87, allocations: 193.3 kB / 4.935 GB, free: 341.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/15.93, allocations: 6.141 kB / 4.935 GB, free: 341.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat