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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008386/0.0008387, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.0009609/0.0009608, allocations: 176.7 kB / 15.95 MB, free: 192 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.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.555/2.555, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003412, allocations: 11.98 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7849/0.7853, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1667/0.9521, allocations: 146.7 MB / 1.124 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.955, allocations: 1.654 MB / 1.126 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.9555, allocations: 15.88 kB / 1.126 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.956, allocations: 107.2 kB / 1.126 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.9573, allocations: 396.9 kB / 1.127 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.9585, allocations: 326 kB / 1.127 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003206/0.9617, allocations: 2.978 MB / 1.13 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.9628, allocations: 0.6915 MB / 1.13 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.9646, allocations: 0.8676 MB / 1.131 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.9658, allocations: 0.7118 MB / 1.132 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.966, allocations: 36 kB / 1.132 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.9675, allocations: 0.5535 MB / 1.133 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.9679, allocations: 278.8 kB / 1.133 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.9683, allocations: 233.1 kB / 1.133 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.9697, allocations: 1.025 MB / 1.134 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9697, allocations: 0 / 1.134 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9697, allocations: 0 / 1.134 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.004e-05/0.9698, allocations: 0 / 1.134 GB, free: 9.234 MB / 0.8887 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.002263/0.972, allocations: 1.299 MB / 1.135 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9721, allocations: 12.03 kB / 1.135 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.9723, allocations: 98.47 kB / 1.135 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.9731, allocations: 186.4 kB / 1.136 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.9746, allocations: 0.7885 MB / 1.136 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.9746, allocations: 48.88 kB / 1.136 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.9747, allocations: 68 kB / 1.136 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.9759, allocations: 0.7888 MB / 1.137 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.9759, allocations: 4 kB / 1.137 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.976, allocations: 27.92 kB / 1.137 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.976, allocations: 19.95 kB / 1.137 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/0.9769, allocations: 0.5345 MB / 1.138 GB, free: 5.164 MB / 0.8887 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.004045/0.9809, allocations: 4.603 MB / 1.142 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.9816, allocations: 422.4 kB / 1.143 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.982, allocations: 254.2 kB / 1.143 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/0.9824, allocations: 194.1 kB / 1.143 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.9829, allocations: 309 kB / 1.143 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.515e-06/0.9829, allocations: 0 / 1.143 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001351/0.9842, allocations: 0.6463 MB / 1.144 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.9843, allocations: 85.11 kB / 1.144 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.9857, allocations: 1.11 MB / 1.145 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.9857, allocations: 33.7 kB / 1.145 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.9862, allocations: 496 kB / 1.146 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.9863, allocations: 114.5 kB / 1.146 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.9863, allocations: 8 kB / 1.146 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9864, allocations: 330 kB / 1.146 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.9868, allocations: 180.7 kB / 1.146 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.9873, allocations: 0.4979 MB / 1.147 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.9878, allocations: 302.3 kB / 1.147 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9878, allocations: 3.953 kB / 1.147 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001198/0.989, allocations: 0.6852 MB / 1.148 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.9892, allocations: 271.2 kB / 1.148 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.9892, allocations: 8 kB / 1.148 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.9892, allocations: 8 kB / 1.148 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.991, allocations: 387.3 kB / 1.148 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.9945, allocations: 6.091 MB / 1.154 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.9953, allocations: 107.5 kB / 1.154 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.9954, allocations: 24 kB / 1.155 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.9954, allocations: 5.562 kB / 1.155 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009781/0.9964, allocations: 0.5323 MB / 1.155 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.9964, allocations: 8 kB / 1.155 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.9964, allocations: 8.109 kB / 1.155 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.997, allocations: 164.2 kB / 1.155 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.997, allocations: 15.92 kB / 1.155 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.9977, allocations: 91.53 kB / 1.155 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.9978, allocations: 27.95 kB / 1.155 GB, free: 2.234 MB / 0.9044 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 () * Number of clocked 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.0005925/0.9984, allocations: 472.5 kB / 1.156 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.9986, allocations: 102.8 kB / 1.156 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/0.9996, allocations: 0.495 MB / 1.156 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.9996, allocations: 4 kB / 1.156 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9996, allocations: 0 / 1.156 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.9997, allocations: 8 kB / 1.156 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/1.002, allocations: 1.393 MB / 1.158 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.002, allocations: 4 kB / 1.158 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/1.003, allocations: 147.8 kB / 1.158 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.003, allocations: 7.953 kB / 1.158 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/1.003, allocations: 12.22 kB / 1.158 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/1.005, allocations: 6.028 MB / 1.164 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.006, allocations: 4.031 kB / 1.164 GB, free: 9.242 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/1.006, allocations: 0.6067 MB / 1.164 GB, free: 8.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/1.007, allocations: 227.8 kB / 1.165 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/1.007, allocations: 8 kB / 1.165 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/1.008, allocations: 59.78 kB / 1.165 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/1.008, allocations: 31.92 kB / 1.165 GB, free: 8.258 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/1.008, allocations: 15.92 kB / 1.165 GB, free: 8.242 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001154/1.009, allocations: 0.7797 MB / 1.165 GB, free: 7.453 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/1.009, allocations: 0 / 1.165 GB, free: 7.453 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001391/1.01, allocations: 415.4 kB / 1.166 GB, free: 7.047 MB / 0.92 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) * Number of clocked states: 0 () * 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.001504/1.012, allocations: 1.231 MB / 1.167 GB, free: 5.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003066/1.015, allocations: 1.105 MB / 1.168 GB, free: 4.645 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.015, allocations: 0 / 1.168 GB, free: 4.645 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/1.016, allocations: 300.1 kB / 1.168 GB, free: 4.352 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/1.018, allocations: 458.8 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.031, allocations: 6.3 MB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.032, allocations: 1.188 MB / 1.176 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001233/1.033, allocations: 375.5 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/1.033, allocations: 311.3 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of SimCode: time 1.242e-06/1.033, allocations: 0 / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05153/1.085, allocations: 26.41 MB / 1.203 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.085, allocations: 276.8 kB / 1.203 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.63, allocations: 0 / 1.203 GB, free: 1.062 MB / 0.9512 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) Environment - environmentSimulation: 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