Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 98.69 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.000458, allocations: 12 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7087, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1494/0.8582, allocations: 135.7 MB / 1.086 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.8615, allocations: 1.672 MB / 1.088 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.8619, allocations: 11.88 kB / 1.088 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.8626, allocations: 179.2 kB / 1.088 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.8642, allocations: 0.4985 MB / 1.088 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.8654, allocations: 407.5 kB / 1.089 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.8674, allocations: 1.512 MB / 1.09 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.8702, allocations: 2.184 MB / 1.092 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.8716, allocations: 0.6929 MB / 1.093 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.8722, allocations: 493.9 kB / 1.094 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.8723, allocations: 32 kB / 1.094 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.8734, allocations: 415.4 kB / 1.094 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.8736, allocations: 251.1 kB / 1.094 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.8739, allocations: 233.1 kB / 1.094 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009639/0.8749, allocations: 0.9859 MB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.8749, allocations: 0 / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8749, allocations: 4 kB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.8749, allocations: 0 / 1.095 GB, free: 14.54 MB / 0.8575 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.002109/0.877, allocations: 1.311 MB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.8771, allocations: 8.031 kB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.8772, allocations: 94.52 kB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00072/0.8779, allocations: 194.5 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.8794, allocations: 0.8001 MB / 1.098 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.8794, allocations: 49 kB / 1.098 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/0.8795, allocations: 59.94 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.8807, allocations: 0.82 MB / 1.099 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.8807, allocations: 3.938 kB / 1.099 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.8808, allocations: 24 kB / 1.099 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.8808, allocations: 12 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009084/0.8817, allocations: 0.5735 MB / 1.099 GB, free: 10.39 MB / 0.8575 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.003876/0.8856, allocations: 4.254 MB / 1.103 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.8863, allocations: 469.1 kB / 1.104 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.8864, allocations: 11.98 kB / 1.104 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.8869, allocations: 324 kB / 1.104 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002187/0.8871, allocations: 43.53 kB / 1.104 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.8871, allocations: 0 / 1.104 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.004913/0.8921, allocations: 1.581 MB / 1.106 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.8921, allocations: 110.8 kB / 1.106 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.8934, allocations: 1.147 MB / 1.107 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.8935, allocations: 41.64 kB / 1.107 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.8939, allocations: 488.4 kB / 1.108 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.894, allocations: 118.4 kB / 1.108 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.894, allocations: 12 kB / 1.108 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.8941, allocations: 326 kB / 1.108 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.8945, allocations: 205 kB / 1.108 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.8951, allocations: 0.5189 MB / 1.109 GB, free: 276 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/0.8956, allocations: 313.6 kB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8956, allocations: 0 / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002179/0.8978, allocations: 1.052 MB / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007083/0.8985, allocations: 2.137 MB / 1.112 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.8985, allocations: 4 kB / 1.112 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.9, allocations: 412 kB / 1.112 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.9004, allocations: 99.86 kB / 1.113 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.9017, allocations: 1.102 MB / 1.114 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009204/0.9026, allocations: 87.75 kB / 1.114 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.9027, allocations: 28 kB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.9027, allocations: 7.953 kB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001406/0.9041, allocations: 0.7946 MB / 1.115 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9042, allocations: 8 kB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/0.9047, allocations: 244.3 kB / 1.115 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.9051, allocations: 95.86 kB / 1.115 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.9088, allocations: 3.124 MB / 1.118 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008843/0.9097, allocations: 87.81 kB / 1.118 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.9097, allocations: 27.98 kB / 1.118 GB, free: 6.32 MB / 0.8731 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005031/0.9102, allocations: 468.7 kB / 1.118 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.9104, allocations: 106.7 kB / 1.119 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.9117, allocations: 0.7653 MB / 1.119 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9118, allocations: 4 kB / 1.119 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.9118, allocations: 0 / 1.119 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.9118, allocations: 3.984 kB / 1.119 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.9134, allocations: 1.158 MB / 1.12 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.9134, allocations: 0 / 1.12 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.9137, allocations: 72.05 kB / 1.121 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005262/0.9142, allocations: 270.9 kB / 1.121 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.9142, allocations: 8 kB / 1.121 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/0.9152, allocations: 1.042 MB / 1.122 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.9152, allocations: 8.031 kB / 1.122 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.9165, allocations: 0.9166 MB / 1.123 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.9169, allocations: 231.8 kB / 1.123 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.9171, allocations: 8 kB / 1.123 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/0.9177, allocations: 67.77 kB / 1.123 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.9178, allocations: 39.84 kB / 1.123 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.9179, allocations: 12 kB / 1.123 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000966/0.9188, allocations: 0.8119 MB / 1.124 GB, free: 124 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9188, allocations: 3.938 kB / 1.124 GB, free: 120 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00126/0.9201, allocations: 471.5 kB / 1.124 GB, free: 15.65 MB / 0.8887 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001782/0.9219, allocations: 1.928 MB / 1.126 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.9245, allocations: 1.249 MB / 1.127 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.9245, allocations: 0 / 1.127 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.9252, allocations: 304.2 kB / 1.128 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.9283, allocations: 0.6392 MB / 1.128 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.9415, allocations: 10.23 MB / 1.138 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.9422, allocations: 1.205 MB / 1.139 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001012/0.9432, allocations: 336.1 kB / 1.14 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.9436, allocations: 323.3 kB / 1.14 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of SimCode: time 7.22e-07/0.9436, allocations: 3.938 kB / 1.14 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/0.9933, allocations: 30.36 MB / 1.17 GB, free: 1.035 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.9935, allocations: 285.7 kB / 1.17 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.184, allocations: 0 / 1.17 GB, free: 0.6602 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat does not exist to compare? outputFormat=mat