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.391/2.391, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001485/0.001485, allocations: 168 kB / 0.4901 GB, free: 2.238 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.519/1.519, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001125/0.001125, allocations: 105 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005581/0.0005581, allocations: 14.47 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3254, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.953/5.278, allocations: 1.87 GB / 3.099 GB, free: 92.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/5.279, allocations: 91.95 kB / 3.099 GB, free: 92.21 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.676/11.95, allocations: 1.804 GB / 4.903 GB, free: 81.46 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.607e-06/11.95, allocations: 0 / 4.903 GB, free: 81.46 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002096/11.95, allocations: 27.98 kB / 4.903 GB, free: 81.43 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.00676/11.96, allocations: 1.512 MB / 4.905 GB, free: 79.86 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.59e-05/11.96, allocations: 12.03 kB / 4.905 GB, free: 79.84 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004626/11.96, allocations: 102.5 kB / 4.905 GB, free: 79.73 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/11.96, allocations: 182.5 kB / 4.905 GB, free: 79.55 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/11.97, allocations: 1.397 MB / 4.906 GB, free: 78.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/11.97, allocations: 49 kB / 4.906 GB, free: 78.05 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/11.97, allocations: 56 kB / 4.906 GB, free: 78 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/11.97, allocations: 0.7978 MB / 4.907 GB, free: 77.12 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/11.97, allocations: 3.938 kB / 4.907 GB, free: 77.12 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/11.97, allocations: 24 kB / 4.907 GB, free: 77.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/11.97, allocations: 12 kB / 4.907 GB, free: 77.09 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009042/11.97, allocations: 0.5423 MB / 4.908 GB, free: 76.54 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00439/11.97, allocations: 4.215 MB / 4.912 GB, free: 72.06 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/11.98, allocations: 450.1 kB / 4.912 GB, free: 71.61 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/11.98, allocations: 194.2 kB / 4.912 GB, free: 71.38 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004562/11.98, allocations: 311.1 kB / 4.913 GB, free: 71.06 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005397/11.98, allocations: 39.59 kB / 4.913 GB, free: 71.02 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 4.619e-06/11.98, allocations: 0 / 4.913 GB, free: 71.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.003754/11.98, allocations: 1.366 MB / 4.914 GB, free: 69.62 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/11.98, allocations: 81.11 kB / 4.914 GB, free: 69.53 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/11.98, allocations: 1.016 MB / 4.915 GB, free: 68.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/11.98, allocations: 37.7 kB / 4.915 GB, free: 68.45 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/11.98, allocations: 488.8 kB / 4.916 GB, free: 67.97 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/11.98, allocations: 122.4 kB / 4.916 GB, free: 67.85 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/11.98, allocations: 4 kB / 4.916 GB, free: 67.85 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.251e-05/11.98, allocations: 329.9 kB / 4.916 GB, free: 67.52 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/11.98, allocations: 201 kB / 4.916 GB, free: 67.32 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/11.98, allocations: 0.5302 MB / 4.917 GB, free: 66.65 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/11.98, allocations: 324.5 kB / 4.917 GB, free: 66.33 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/11.98, allocations: 0 / 4.917 GB, free: 66.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001525/11.99, allocations: 0.9525 MB / 4.918 GB, free: 65.36 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005173/11.99, allocations: 2.131 MB / 4.92 GB, free: 63.07 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/11.99, allocations: 7.938 kB / 4.92 GB, free: 63.06 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/11.99, allocations: 264.4 kB / 4.92 GB, free: 62.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/11.99, allocations: 67.84 kB / 4.92 GB, free: 62.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000932/11.99, allocations: 1.03 MB / 4.921 GB, free: 61.68 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/11.99, allocations: 88.09 kB / 4.922 GB, free: 61.59 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/11.99, allocations: 24 kB / 4.922 GB, free: 61.57 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/11.99, allocations: 8.938 kB / 4.922 GB, free: 61.56 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/11.99, allocations: 0.7805 MB / 4.922 GB, free: 60.77 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/11.99, allocations: 7.953 kB / 4.922 GB, free: 60.76 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/11.99, allocations: 247.2 kB / 4.923 GB, free: 60.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/11.99, allocations: 63.84 kB / 4.923 GB, free: 60.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/12, allocations: 3.061 MB / 4.926 GB, free: 57.26 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/12, allocations: 91.81 kB / 4.926 GB, free: 57.17 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/12, allocations: 24 kB / 4.926 GB, free: 57.15 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked 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.0006362/12, allocations: 466.3 kB / 4.926 GB, free: 56.68 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/12, allocations: 106.6 kB / 4.926 GB, free: 56.58 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/12, allocations: 0.7889 MB / 4.927 GB, free: 55.77 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/12, allocations: 4 kB / 4.927 GB, free: 55.77 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/12, allocations: 0 / 4.927 GB, free: 55.77 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/12, allocations: 0 / 4.927 GB, free: 55.77 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/12, allocations: 1.722 MB / 4.929 GB, free: 53.96 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/12, allocations: 4.219 kB / 4.929 GB, free: 53.96 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/12, allocations: 35.91 kB / 4.929 GB, free: 53.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/12, allocations: 252.6 kB / 4.929 GB, free: 53.68 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/12, allocations: 8 kB / 4.929 GB, free: 53.67 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008109/12, allocations: 0.9997 MB / 4.93 GB, free: 52.64 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/12, allocations: 4.031 kB / 4.93 GB, free: 52.64 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/12, allocations: 0.9816 MB / 4.931 GB, free: 51.58 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006006/12, allocations: 219.8 kB / 4.931 GB, free: 51.35 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/12, allocations: 11.98 kB / 4.931 GB, free: 51.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/12.01, allocations: 71.77 kB / 4.931 GB, free: 51.27 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/12.01, allocations: 31.92 kB / 4.931 GB, free: 51.23 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/12.01, allocations: 11.98 kB / 4.931 GB, free: 51.22 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001058/12.01, allocations: 0.8041 MB / 4.932 GB, free: 50.41 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/12.01, allocations: 0 / 4.932 GB, free: 50.41 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001868/12.01, allocations: 0.5465 MB / 4.933 GB, free: 49.86 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * 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.003004/12.01, allocations: 2.723 MB / 4.935 GB, free: 47.08 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002026/12.01, allocations: 1.117 MB / 4.936 GB, free: 45.93 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/12.01, allocations: 0 / 4.936 GB, free: 45.93 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004802/12.01, allocations: 238.5 kB / 4.937 GB, free: 45.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/12.02, allocations: 0.6265 MB / 4.937 GB, free: 45.07 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/12.03, allocations: 10.04 MB / 4.947 GB, free: 34.69 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/12.03, allocations: 1.201 MB / 4.948 GB, free: 33.46 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001349/12.03, allocations: 312.4 kB / 4.949 GB, free: 33.15 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/12.03, allocations: 323.3 kB / 4.949 GB, free: 32.84 MB / 1.167 GB Notification: Performance of SimCode: time 2.064e-06/12.03, allocations: 0 / 4.949 GB, free: 32.84 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7678/12.8, allocations: 44.37 MB / 4.992 GB, free: 368 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/12.8, allocations: 287.5 kB / 4.992 GB, free: 367.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.381/16.18, allocations: 0 / 4.992 GB, free: 367.6 MB / 1.167 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