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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001182/0.001182, allocations: 172.9 kB / 487.4 MB, free: 5.027 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.6/1.6, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009745/0.0009742, allocations: 95.84 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.022e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2541, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/5.487, allocations: 1.869 GB / 3.075 GB, free: 362.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/5.488, allocations: 87.77 kB / 3.075 GB, free: 362.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.601/9.088, allocations: 0.9578 GB / 4.032 GB, free: 353.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/9.088, allocations: 0 / 4.032 GB, free: 353.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000105/9.089, allocations: 36.12 kB / 4.032 GB, free: 353.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.003634/9.092, allocations: 1.227 MB / 4.034 GB, free: 352.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/9.092, allocations: 10.16 kB / 4.034 GB, free: 352.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/9.093, allocations: 188 kB / 4.034 GB, free: 352.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/9.097, allocations: 1.375 MB / 4.035 GB, free: 351.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/9.097, allocations: 18.47 kB / 4.035 GB, free: 351.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/9.097, allocations: 38.58 kB / 4.035 GB, free: 351.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008761/9.098, allocations: 493.7 kB / 4.036 GB, free: 351.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/9.099, allocations: 0.7003 MB / 4.036 GB, free: 351.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/9.099, allocations: 3.781 kB / 4.036 GB, free: 351.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/9.099, allocations: 3.812 kB / 4.036 GB, free: 351.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/9.099, allocations: 14.03 kB / 4.036 GB, free: 351.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.003766/9.103, allocations: 4.093 MB / 4.04 GB, free: 347.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/9.103, allocations: 460.2 kB / 4.041 GB, free: 347.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/9.104, allocations: 337.3 kB / 4.041 GB, free: 347.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/9.104, allocations: 198.7 kB / 4.041 GB, free: 347 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/9.104, allocations: 289.4 kB / 4.042 GB, free: 346.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002932/9.105, allocations: 10.73 kB / 4.042 GB, free: 346.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/9.105, allocations: 3.938 kB / 4.042 GB, free: 346.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001846/9.106, allocations: 0.8128 MB / 4.042 GB, free: 346.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/9.107, allocations: 89 kB / 4.043 GB, free: 346.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/9.108, allocations: 0.846 MB / 4.043 GB, free: 345.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/9.108, allocations: 31.92 kB / 4.043 GB, free: 345.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/9.108, allocations: 495.5 kB / 4.044 GB, free: 345.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/9.108, allocations: 102.1 kB / 4.044 GB, free: 345.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/9.108, allocations: 0 / 4.044 GB, free: 345.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.574e-05/9.108, allocations: 329.6 kB / 4.044 GB, free: 345 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/9.108, allocations: 202.4 kB / 4.045 GB, free: 344.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/9.109, allocations: 0.5073 MB / 4.045 GB, free: 344.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/9.109, allocations: 285.4 kB / 4.045 GB, free: 344.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/9.109, allocations: 3.906 kB / 4.045 GB, free: 344.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001471/9.111, allocations: 0.9365 MB / 4.046 GB, free: 343.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000489/9.111, allocations: 2.137 MB / 4.048 GB, free: 341.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/9.111, allocations: 3.344 kB / 4.048 GB, free: 341.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/9.112, allocations: 269.3 kB / 4.049 GB, free: 341.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/9.112, allocations: 66.02 kB / 4.049 GB, free: 341.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/9.113, allocations: 1.205 MB / 4.05 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/9.114, allocations: 81.52 kB / 4.05 GB, free: 340.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/9.114, allocations: 25.16 kB / 4.05 GB, free: 340.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/9.114, allocations: 7.891 kB / 4.05 GB, free: 340.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001023/9.115, allocations: 0.6594 MB / 4.051 GB, free: 340.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/9.115, allocations: 7.375 kB / 4.051 GB, free: 340.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/9.116, allocations: 209.5 kB / 4.051 GB, free: 340.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/9.116, allocations: 68.78 kB / 4.051 GB, free: 340.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/9.119, allocations: 2.918 MB / 4.054 GB, free: 337.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009321/9.12, allocations: 75.45 kB / 4.054 GB, free: 337.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/9.12, allocations: 21.22 kB / 4.054 GB, free: 337.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.0001855/9.12, allocations: 132.4 kB / 4.054 GB, free: 337.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008866/9.121, allocations: 0.6596 MB / 4.055 GB, free: 337.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/9.121, allocations: 94.47 kB / 4.055 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/9.122, allocations: 0.7092 MB / 4.055 GB, free: 336.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/9.122, allocations: 7.625 kB / 4.055 GB, free: 336.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/9.122, allocations: 0 / 4.055 GB, free: 336.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/9.122, allocations: 7.891 kB / 4.055 GB, free: 336.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/9.124, allocations: 1.58 MB / 4.057 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/9.125, allocations: 0 / 4.057 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/9.125, allocations: 39.84 kB / 4.057 GB, free: 335 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/9.125, allocations: 226.9 kB / 4.057 GB, free: 334.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/9.125, allocations: 7.938 kB / 4.057 GB, free: 334.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008127/9.126, allocations: 1.053 MB / 4.058 GB, free: 333.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/9.126, allocations: 7.953 kB / 4.058 GB, free: 333.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008729/9.127, allocations: 0.8943 MB / 4.059 GB, free: 332.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/9.127, allocations: 223.8 kB / 4.059 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/9.127, allocations: 4 kB / 4.059 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/9.128, allocations: 69.36 kB / 4.059 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/9.128, allocations: 31.89 kB / 4.059 GB, free: 332.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/9.128, allocations: 19.94 kB / 4.059 GB, free: 332.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007643/9.129, allocations: 0.6611 MB / 4.06 GB, free: 331.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/9.129, allocations: 0 / 4.06 GB, free: 331.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001885/9.131, allocations: 0.5127 MB / 4.061 GB, free: 331.2 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.002786/9.133, allocations: 2.758 MB / 4.063 GB, free: 328.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002197/9.136, allocations: 1.166 MB / 4.064 GB, free: 327.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/9.136, allocations: 0 / 4.064 GB, free: 327.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004479/9.136, allocations: 266.3 kB / 4.065 GB, free: 327.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/9.139, allocations: 0.5291 MB / 4.065 GB, free: 326.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/9.142, allocations: 1.625 MB / 4.067 GB, free: 325 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/9.143, allocations: 1.206 MB / 4.068 GB, free: 323.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001592/9.144, allocations: 0.674 MB / 4.069 GB, free: 323.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/9.144, allocations: 299.3 kB / 4.069 GB, free: 322.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/9.144, allocations: 0 / 4.069 GB, free: 322.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/9.204, allocations: 33.38 MB / 4.101 GB, free: 289.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/9.204, allocations: 180.4 kB / 4.102 GB, free: 289.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/12.32, allocations: 3.938 kB / 4.102 GB, free: 289.6 MB / 1.151 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