Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.3 MB / 405.3 MB, free: 13.48 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: 193 kB / 498.1 MB, free: 5.684 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.516/1.516, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009066/0.0009067, allocations: 100.2 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003671, allocations: 10.31 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2817, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.099/4.381, allocations: 1.869 GB / 3.092 GB, free: 116.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/4.381, allocations: 90.45 kB / 3.092 GB, free: 116.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.836/10.22, allocations: 1.804 GB / 4.896 GB, free: 124.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/10.22, allocations: 3.938 kB / 4.896 GB, free: 124.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001556/10.22, allocations: 31.98 kB / 4.896 GB, free: 124.1 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.004929/10.22, allocations: 1.507 MB / 4.898 GB, free: 122.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/10.22, allocations: 12.03 kB / 4.898 GB, free: 122.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003203/10.22, allocations: 94.52 kB / 4.898 GB, free: 122.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/10.22, allocations: 186.5 kB / 4.898 GB, free: 122.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/10.23, allocations: 1.393 MB / 4.899 GB, free: 120.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/10.23, allocations: 44.94 kB / 4.899 GB, free: 120.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/10.23, allocations: 67.95 kB / 4.899 GB, free: 120.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/10.23, allocations: 0.7888 MB / 4.9 GB, free: 119.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/10.23, allocations: 3.938 kB / 4.9 GB, free: 119.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/10.23, allocations: 24 kB / 4.9 GB, free: 119.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/10.23, allocations: 15.98 kB / 4.9 GB, free: 119.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/10.23, allocations: 0.5384 MB / 4.901 GB, free: 119.2 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.003589/10.23, allocations: 4.219 MB / 4.905 GB, free: 114.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/10.23, allocations: 433.5 kB / 4.905 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/10.23, allocations: 198.2 kB / 4.905 GB, free: 114.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/10.23, allocations: 315.3 kB / 4.906 GB, free: 113.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003741/10.23, allocations: 39.55 kB / 4.906 GB, free: 113.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.866e-06/10.23, allocations: 4 kB / 4.906 GB, free: 113.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.003272/10.24, allocations: 1.382 MB / 4.907 GB, free: 112.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/10.24, allocations: 81.11 kB / 4.907 GB, free: 112.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/10.24, allocations: 1.012 MB / 4.908 GB, free: 111.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/10.24, allocations: 41.69 kB / 4.908 GB, free: 111.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/10.24, allocations: 484.8 kB / 4.909 GB, free: 110.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/10.24, allocations: 122.4 kB / 4.909 GB, free: 110.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/10.24, allocations: 4 kB / 4.909 GB, free: 110.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/10.24, allocations: 330 kB / 4.909 GB, free: 110.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/10.24, allocations: 197 kB / 4.909 GB, free: 110 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/10.24, allocations: 0.5334 MB / 4.91 GB, free: 109.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/10.24, allocations: 307.5 kB / 4.91 GB, free: 109 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/10.24, allocations: 4 kB / 4.91 GB, free: 109 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001398/10.24, allocations: 0.9642 MB / 4.911 GB, free: 108 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003904/10.24, allocations: 2.135 MB / 4.913 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/10.24, allocations: 4 kB / 4.913 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/10.24, allocations: 261.2 kB / 4.913 GB, free: 105.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/10.24, allocations: 63.84 kB / 4.913 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008101/10.24, allocations: 1.03 MB / 4.914 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/10.25, allocations: 91.81 kB / 4.914 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/10.25, allocations: 27.98 kB / 4.914 GB, free: 104.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/10.25, allocations: 4 kB / 4.914 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/10.25, allocations: 0.7808 MB / 4.915 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/10.25, allocations: 8 kB / 4.915 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/10.25, allocations: 238.6 kB / 4.915 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/10.25, allocations: 71.75 kB / 4.916 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/10.25, allocations: 3.06 MB / 4.919 GB, free: 99.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009791/10.25, allocations: 91.81 kB / 4.919 GB, free: 99.84 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/10.25, allocations: 27.98 kB / 4.919 GB, free: 99.81 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.0005643/10.25, allocations: 468.7 kB / 4.919 GB, free: 99.34 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/10.25, allocations: 102.7 kB / 4.919 GB, free: 99.24 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/10.25, allocations: 0.7849 MB / 4.92 GB, free: 98.45 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/10.25, allocations: 4 kB / 4.92 GB, free: 98.44 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/10.25, allocations: 0 / 4.92 GB, free: 98.44 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/10.25, allocations: 3.984 kB / 4.92 GB, free: 98.44 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/10.26, allocations: 1.714 MB / 4.922 GB, free: 96.64 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/10.26, allocations: 4.219 kB / 4.922 GB, free: 96.64 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/10.26, allocations: 31.98 kB / 4.922 GB, free: 96.61 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/10.26, allocations: 252.6 kB / 4.922 GB, free: 96.36 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/10.26, allocations: 8 kB / 4.922 GB, free: 96.35 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006889/10.26, allocations: 0.9998 MB / 4.923 GB, free: 95.33 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/10.26, allocations: 11.97 kB / 4.923 GB, free: 95.32 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/10.26, allocations: 0.9734 MB / 4.924 GB, free: 94.27 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/10.26, allocations: 227.7 kB / 4.924 GB, free: 94.02 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/10.26, allocations: 8 kB / 4.924 GB, free: 94.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/10.26, allocations: 71.86 kB / 4.924 GB, free: 93.95 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/10.26, allocations: 39.84 kB / 4.924 GB, free: 93.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/10.26, allocations: 8 kB / 4.924 GB, free: 93.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009377/10.26, allocations: 0.808 MB / 4.925 GB, free: 93.08 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.4e-07/10.26, allocations: 0 / 4.925 GB, free: 93.08 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001705/10.26, allocations: 0.5387 MB / 4.926 GB, free: 92.54 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.002347/10.26, allocations: 2.726 MB / 4.928 GB, free: 89.75 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001717/10.27, allocations: 1.112 MB / 4.929 GB, free: 88.61 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/10.27, allocations: 0 / 4.929 GB, free: 88.61 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004028/10.27, allocations: 243.2 kB / 4.929 GB, free: 88.37 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/10.27, allocations: 0.6291 MB / 4.93 GB, free: 87.75 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/10.28, allocations: 10.03 MB / 4.94 GB, free: 77.37 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/10.28, allocations: 1.205 MB / 4.941 GB, free: 76.13 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00103/10.28, allocations: 320.4 kB / 4.941 GB, free: 75.82 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/10.28, allocations: 323.3 kB / 4.942 GB, free: 75.5 MB / 1.167 GB Notification: Performance of SimCode: time 9.62e-07/10.28, allocations: 0 / 4.942 GB, free: 75.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05796/10.34, allocations: 44.38 MB / 4.985 GB, free: 31.57 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/10.34, allocations: 276.8 kB / 4.985 GB, free: 31.21 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.122/13.46, allocations: 0 / 4.985 GB, free: 31.21 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat