Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.322/2.322, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001245/0.001245, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.746/1.746, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0011/0.0011, allocations: 91.94 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.526e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3138, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.687/6.001, allocations: 1.87 GB / 3.089 GB, free: 436 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/6.002, allocations: 86.12 kB / 3.089 GB, free: 436 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.389/9.39, allocations: 0.9684 GB / 4.057 GB, free: 358.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.362e-06/9.39, allocations: 3.188 kB / 4.057 GB, free: 358.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.589e-05/9.391, allocations: 34.91 kB / 4.057 GB, free: 358.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.00171/9.392, allocations: 1.145 MB / 4.058 GB, free: 357.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/9.392, allocations: 7.406 kB / 4.058 GB, free: 357.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/9.392, allocations: 95.8 kB / 4.059 GB, free: 357.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/9.393, allocations: 181 kB / 4.059 GB, free: 357.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/9.395, allocations: 1.077 MB / 4.06 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/9.395, allocations: 46.34 kB / 4.06 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/9.395, allocations: 64.06 kB / 4.06 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/9.396, allocations: 0.7422 MB / 4.061 GB, free: 356.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/9.396, allocations: 3.719 kB / 4.061 GB, free: 356.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/9.396, allocations: 26.06 kB / 4.061 GB, free: 356.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/9.396, allocations: 11.22 kB / 4.061 GB, free: 356.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/9.397, allocations: 472.5 kB / 4.061 GB, free: 356.2 MB / 1.167 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.003333/9.4, allocations: 4.597 MB / 4.066 GB, free: 352.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/9.401, allocations: 378.8 kB / 4.066 GB, free: 352.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/9.401, allocations: 225.6 kB / 4.066 GB, free: 352 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/9.401, allocations: 196.4 kB / 4.066 GB, free: 351.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/9.402, allocations: 283.1 kB / 4.067 GB, free: 351.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 3.347e-06/9.402, allocations: 0 / 4.067 GB, free: 351.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.0007946/9.403, allocations: 456.6 kB / 4.067 GB, free: 351.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/9.403, allocations: 85 kB / 4.067 GB, free: 351.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/9.404, allocations: 0.9786 MB / 4.068 GB, free: 350.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/9.404, allocations: 33.64 kB / 4.068 GB, free: 350.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/9.404, allocations: 495.7 kB / 4.069 GB, free: 350.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/9.404, allocations: 108.3 kB / 4.069 GB, free: 350.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/9.404, allocations: 11.03 kB / 4.069 GB, free: 350.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.622e-05/9.404, allocations: 331 kB / 4.069 GB, free: 350 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/9.404, allocations: 159.8 kB / 4.069 GB, free: 349.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/9.405, allocations: 497.4 kB / 4.07 GB, free: 349.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/9.405, allocations: 275.2 kB / 4.07 GB, free: 349.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/9.405, allocations: 0 / 4.07 GB, free: 349.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009028/9.406, allocations: 0.6364 MB / 4.071 GB, free: 348.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005978/9.407, allocations: 2.133 MB / 4.073 GB, free: 346.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/9.407, allocations: 5.438 kB / 4.073 GB, free: 346.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/9.407, allocations: 11.88 kB / 4.073 GB, free: 346.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/9.408, allocations: 293.5 kB / 4.073 GB, free: 346.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/9.411, allocations: 6.09 MB / 4.079 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/9.412, allocations: 102.5 kB / 4.079 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/9.412, allocations: 22.38 kB / 4.079 GB, free: 340.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/9.412, allocations: 6.938 kB / 4.079 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006501/9.412, allocations: 0.4916 MB / 4.079 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/9.412, allocations: 9.125 kB / 4.079 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/9.412, allocations: 9.156 kB / 4.079 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/9.413, allocations: 150.1 kB / 4.08 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/9.413, allocations: 7.469 kB / 4.08 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/9.414, allocations: 99.36 kB / 4.08 GB, free: 340.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/9.414, allocations: 30.39 kB / 4.08 GB, free: 340.1 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/9.414, allocations: 147.6 kB / 4.08 GB, free: 340 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/9.414, allocations: 100.3 kB / 4.08 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007432/9.415, allocations: 468.6 kB / 4.08 GB, free: 339.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/9.415, allocations: 6.5 kB / 4.08 GB, free: 339.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/9.415, allocations: 0 / 4.08 GB, free: 339.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/9.415, allocations: 3.984 kB / 4.08 GB, free: 339.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/9.416, allocations: 1.354 MB / 4.082 GB, free: 338.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/9.416, allocations: 0 / 4.082 GB, free: 338.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/9.417, allocations: 153.3 kB / 4.082 GB, free: 338.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/9.417, allocations: 11.05 kB / 4.082 GB, free: 338.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/9.417, allocations: 7.812 kB / 4.082 GB, free: 338.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/9.419, allocations: 6.022 MB / 4.088 GB, free: 332.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/9.419, allocations: 3.984 kB / 4.088 GB, free: 332.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/9.419, allocations: 0.654 MB / 4.088 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/9.42, allocations: 221.6 kB / 4.089 GB, free: 332 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/9.42, allocations: 11.78 kB / 4.089 GB, free: 332 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/9.42, allocations: 53.33 kB / 4.089 GB, free: 331.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/9.42, allocations: 34.09 kB / 4.089 GB, free: 331.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/9.42, allocations: 7.281 kB / 4.089 GB, free: 331.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008304/9.421, allocations: 0.7742 MB / 4.09 GB, free: 331.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/9.421, allocations: 3.344 kB / 4.09 GB, free: 331.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001364/9.423, allocations: 482.1 kB / 4.09 GB, free: 331.4 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/9.424, allocations: 2.479 MB / 4.092 GB, free: 329.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002167/9.427, allocations: 0.9564 MB / 4.093 GB, free: 329.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/9.427, allocations: 3.156 kB / 4.093 GB, free: 329.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005966/9.427, allocations: 257.3 kB / 4.094 GB, free: 329.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/9.429, allocations: 452.3 kB / 4.094 GB, free: 328.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/9.432, allocations: 1.674 MB / 4.096 GB, free: 328 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/9.432, allocations: 1.196 MB / 4.097 GB, free: 327.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001747/9.434, allocations: 0.7934 MB / 4.098 GB, free: 326.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/9.434, allocations: 292.9 kB / 4.098 GB, free: 326.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/9.434, allocations: 0 / 4.098 GB, free: 326.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06058/9.495, allocations: 43.84 MB / 4.141 GB, free: 286.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/9.495, allocations: 228.9 kB / 4.141 GB, free: 286.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/13.14, allocations: 4.062 kB / 4.141 GB, free: 286.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat does not exist to compare? outputFormat=mat