Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.344/2.344, 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.001169/0.001169, allocations: 180.9 kB / 491.2 MB, free: 1.621 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.662/1.662, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009286/0.0009287, allocations: 97.92 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.149e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3726, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.82/6.192, allocations: 1.869 GB / 3.082 GB, free: 435.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/6.192, allocations: 89.94 kB / 3.082 GB, free: 435.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.374/9.567, allocations: 0.9578 GB / 4.04 GB, free: 363.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.654e-06/9.567, allocations: 0 / 4.04 GB, free: 363.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001587/9.567, allocations: 29.34 kB / 4.04 GB, free: 363.6 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.004112/9.571, allocations: 1.227 MB / 4.041 GB, free: 362.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/9.571, allocations: 10.81 kB / 4.041 GB, free: 362.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/9.572, allocations: 186.5 kB / 4.041 GB, free: 362.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/9.576, allocations: 1.387 MB / 4.042 GB, free: 361.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/9.576, allocations: 15.16 kB / 4.042 GB, free: 361.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/9.576, allocations: 38.09 kB / 4.042 GB, free: 361.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009932/9.577, allocations: 491.3 kB / 4.043 GB, free: 361.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/9.578, allocations: 0.7014 MB / 4.044 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/9.578, allocations: 7.922 kB / 4.044 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/9.578, allocations: 3.5 kB / 4.044 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/9.578, allocations: 14.94 kB / 4.044 GB, free: 361.2 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.00337/9.582, allocations: 4.087 MB / 4.048 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/9.582, allocations: 462.8 kB / 4.048 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/9.583, allocations: 333.1 kB / 4.048 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/9.583, allocations: 196.7 kB / 4.049 GB, free: 357 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/9.583, allocations: 286.7 kB / 4.049 GB, free: 356.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003673/9.584, allocations: 14.47 kB / 4.049 GB, free: 356.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/9.584, allocations: 0 / 4.049 GB, free: 356.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001796/9.585, allocations: 0.8168 MB / 4.05 GB, free: 356.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/9.586, allocations: 81.05 kB / 4.05 GB, free: 356.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/9.587, allocations: 0.8544 MB / 4.051 GB, free: 355.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/9.587, allocations: 25.7 kB / 4.051 GB, free: 355.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/9.587, allocations: 490.2 kB / 4.051 GB, free: 355.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.64e-05/9.587, allocations: 111.3 kB / 4.051 GB, free: 355.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/9.587, allocations: 0 / 4.051 GB, free: 355.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.49e-05/9.587, allocations: 328.1 kB / 4.051 GB, free: 355 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/9.587, allocations: 202.3 kB / 4.052 GB, free: 354.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/9.588, allocations: 0.5028 MB / 4.052 GB, free: 354.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/9.588, allocations: 292 kB / 4.052 GB, free: 354.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/9.588, allocations: 0 / 4.052 GB, free: 354.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001525/9.59, allocations: 0.9471 MB / 4.053 GB, free: 353.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005153/9.59, allocations: 2.136 MB / 4.055 GB, free: 351.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/9.59, allocations: 3.938 kB / 4.055 GB, free: 351.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005156/9.591, allocations: 270.5 kB / 4.056 GB, free: 351.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/9.591, allocations: 71.06 kB / 4.056 GB, free: 351.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/9.593, allocations: 1.201 MB / 4.057 GB, free: 350.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009266/9.593, allocations: 81.25 kB / 4.057 GB, free: 350.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/9.594, allocations: 34.33 kB / 4.057 GB, free: 350.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/9.594, allocations: 3.953 kB / 4.057 GB, free: 350.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/9.595, allocations: 0.6518 MB / 4.058 GB, free: 350.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/9.595, allocations: 11.09 kB / 4.058 GB, free: 350.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/9.595, allocations: 206.5 kB / 4.058 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/9.595, allocations: 66.67 kB / 4.058 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/9.598, allocations: 2.906 MB / 4.061 GB, free: 347.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/9.599, allocations: 80.33 kB / 4.061 GB, free: 347.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/9.599, allocations: 25.12 kB / 4.061 GB, free: 347.8 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001454/9.599, allocations: 132.4 kB / 4.061 GB, free: 347.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008387/9.6, allocations: 0.6672 MB / 4.062 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/9.6, allocations: 95.66 kB / 4.062 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009738/9.601, allocations: 0.7099 MB / 4.062 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/9.601, allocations: 3.719 kB / 4.062 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/9.601, allocations: 0 / 4.062 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/9.601, allocations: 7.922 kB / 4.062 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/9.603, allocations: 1.576 MB / 4.064 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/9.603, allocations: 0 / 4.064 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/9.603, allocations: 34.02 kB / 4.064 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/9.604, allocations: 227.1 kB / 4.064 GB, free: 345.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/9.604, allocations: 7.828 kB / 4.064 GB, free: 345.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007677/9.605, allocations: 1.043 MB / 4.065 GB, free: 344.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/9.605, allocations: 11.72 kB / 4.065 GB, free: 344.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/9.605, allocations: 0.9055 MB / 4.066 GB, free: 344.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/9.606, allocations: 228.7 kB / 4.066 GB, free: 344.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/9.606, allocations: 2.438 kB / 4.066 GB, free: 344.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/9.606, allocations: 65.34 kB / 4.066 GB, free: 344.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/9.607, allocations: 35.11 kB / 4.066 GB, free: 344.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/9.607, allocations: 11.38 kB / 4.066 GB, free: 344.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006211/9.607, allocations: 0.6606 MB / 4.067 GB, free: 343.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.607, allocations: 0 / 4.067 GB, free: 343.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001374/9.609, allocations: 0.5117 MB / 4.068 GB, free: 343.6 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002056/9.611, allocations: 2.752 MB / 4.07 GB, free: 341.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00189/9.613, allocations: 1.18 MB / 4.071 GB, free: 339.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/9.613, allocations: 0 / 4.071 GB, free: 339.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/9.613, allocations: 267.1 kB / 4.072 GB, free: 339.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/9.616, allocations: 0.5311 MB / 4.072 GB, free: 339.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/9.618, allocations: 1.618 MB / 4.074 GB, free: 337.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/9.618, allocations: 1.207 MB / 4.075 GB, free: 336.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001527/9.62, allocations: 0.6686 MB / 4.076 GB, free: 335.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/9.62, allocations: 303.3 kB / 4.076 GB, free: 335.3 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/9.62, allocations: 3.594 kB / 4.076 GB, free: 335.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/9.671, allocations: 33.38 MB / 4.109 GB, free: 302.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/9.671, allocations: 196.1 kB / 4.109 GB, free: 302.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/12.79, allocations: 0 / 4.109 GB, free: 302.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat does not exist to compare? outputFormat=mat