Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.295/2.295, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001267/0.001267, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.579/1.579, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008682/0.0008681, allocations: 95.28 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.622e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.633/5.955, allocations: 1.869 GB / 3.082 GB, free: 435.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/5.956, allocations: 89.95 kB / 3.082 GB, free: 435.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.947/9.903, allocations: 1.08 GB / 4.162 GB, free: 245.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/9.903, allocations: 0 / 4.162 GB, free: 245.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002149/9.903, allocations: 31.98 kB / 4.162 GB, free: 245.8 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004883/9.908, allocations: 1.28 MB / 4.163 GB, free: 244.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/9.908, allocations: 12.03 kB / 4.163 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004342/9.908, allocations: 102.5 kB / 4.163 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/9.91, allocations: 200 kB / 4.163 GB, free: 244.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004406/9.914, allocations: 1.428 MB / 4.165 GB, free: 242.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/9.914, allocations: 49.31 kB / 4.165 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/9.914, allocations: 64 kB / 4.165 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/9.916, allocations: 0.9215 MB / 4.166 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/9.916, allocations: 3.938 kB / 4.166 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/9.916, allocations: 28 kB / 4.166 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/9.916, allocations: 12 kB / 4.166 GB, free: 241.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/9.917, allocations: 0.7103 MB / 4.166 GB, free: 240.8 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.005196/9.922, allocations: 4.725 MB / 4.171 GB, free: 235.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/9.924, allocations: 4.025 MB / 4.175 GB, free: 230.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/9.924, allocations: 323.3 kB / 4.175 GB, free: 230.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/9.925, allocations: 202.2 kB / 4.175 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004074/9.925, allocations: 298.7 kB / 4.176 GB, free: 230.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006403/9.926, allocations: 23.75 kB / 4.176 GB, free: 230 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.908e-06/9.926, allocations: 0 / 4.176 GB, free: 230 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001542/9.927, allocations: 0.7389 MB / 4.176 GB, free: 229.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/9.927, allocations: 93.02 kB / 4.176 GB, free: 229.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/9.929, allocations: 1.027 MB / 4.177 GB, free: 228.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/9.929, allocations: 41.7 kB / 4.178 GB, free: 228.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/9.929, allocations: 0.5127 MB / 4.178 GB, free: 227.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/9.93, allocations: 126.2 kB / 4.178 GB, free: 227.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/9.93, allocations: 12 kB / 4.178 GB, free: 227.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/9.93, allocations: 330 kB / 4.178 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/9.93, allocations: 185 kB / 4.179 GB, free: 226.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/9.93, allocations: 0.534 MB / 4.179 GB, free: 226.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/9.931, allocations: 303.4 kB / 4.179 GB, free: 225.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/9.931, allocations: 0 / 4.179 GB, free: 225.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001451/9.932, allocations: 0.9393 MB / 4.18 GB, free: 225 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004787/9.933, allocations: 2.225 MB / 4.183 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/9.933, allocations: 8 kB / 4.183 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/9.933, allocations: 290.7 kB / 4.183 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/9.934, allocations: 91.69 kB / 4.183 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/9.935, allocations: 1.659 MB / 4.185 GB, free: 220.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/9.937, allocations: 103.8 kB / 4.185 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/9.937, allocations: 35.94 kB / 4.185 GB, free: 220.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/9.937, allocations: 4 kB / 4.185 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/9.938, allocations: 0.7515 MB / 4.185 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/9.938, allocations: 8 kB / 4.185 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000459/9.938, allocations: 213.3 kB / 4.186 GB, free: 219.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/9.939, allocations: 79.84 kB / 4.186 GB, free: 219.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/9.942, allocations: 2.894 MB / 4.189 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/9.943, allocations: 107.7 kB / 4.189 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/9.943, allocations: 27.98 kB / 4.189 GB, free: 216.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002249/9.943, allocations: 146.1 kB / 4.189 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/9.944, allocations: 106.7 kB / 4.189 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/9.945, allocations: 0.7502 MB / 4.19 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/9.945, allocations: 4 kB / 4.19 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/9.945, allocations: 4 kB / 4.19 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/9.945, allocations: 0 / 4.19 GB, free: 215.1 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 postOpt removeSimpleEquations (simulation): time 0.002935/9.948, allocations: 2.12 MB / 4.192 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/9.948, allocations: 4 kB / 4.192 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/9.948, allocations: 63.89 kB / 4.192 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/9.949, allocations: 200.5 kB / 4.192 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/9.949, allocations: 12 kB / 4.192 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008522/9.95, allocations: 1.462 MB / 4.193 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/9.95, allocations: 4 kB / 4.193 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/9.951, allocations: 0.9273 MB / 4.194 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/9.951, allocations: 247.5 kB / 4.195 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/9.952, allocations: 8 kB / 4.195 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008487/9.952, allocations: 87.69 kB / 4.195 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/9.953, allocations: 31.95 kB / 4.195 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/9.953, allocations: 12 kB / 4.195 GB, free: 209.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001163/9.954, allocations: 0.8143 MB / 4.195 GB, free: 208.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/9.954, allocations: 0 / 4.195 GB, free: 208.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002152/9.956, allocations: 0.5972 MB / 4.196 GB, free: 208.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003073/9.959, allocations: 2.904 MB / 4.199 GB, free: 205.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002576/9.962, allocations: 1.239 MB / 4.2 GB, free: 204 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/9.962, allocations: 0 / 4.2 GB, free: 204 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/9.962, allocations: 292.1 kB / 4.2 GB, free: 203.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/9.966, allocations: 0.6522 MB / 4.201 GB, free: 203 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/9.97, allocations: 1.775 MB / 4.203 GB, free: 201.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/9.97, allocations: 1.235 MB / 4.204 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00214/9.972, allocations: 0.8123 MB / 4.205 GB, free: 199.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/9.973, allocations: 339.3 kB / 4.205 GB, free: 198.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.61e-07/9.973, allocations: 0 / 4.205 GB, free: 198.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08094/10.05, allocations: 51.39 MB / 4.255 GB, free: 147.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/10.05, allocations: 250.7 kB / 4.255 GB, free: 147.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/13.96, allocations: 0 / 4.255 GB, free: 147.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat does not exist to compare? outputFormat=mat