Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_9_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.001011/0.001011, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001197/0.001197, allocations: 168.7 kB / 15.95 MB, free: 204 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.341/1.341, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6778/0.6782, allocations: 142.3 MB / 0.9539 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.158/0.8362, allocations: 146.7 MB / 1.097 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002976/0.8392, allocations: 1.647 MB / 1.099 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.8395, allocations: 7.938 kB / 1.099 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.84, allocations: 115.2 kB / 1.099 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.8412, allocations: 394.1 kB / 1.099 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.8422, allocations: 326.5 kB / 1.1 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.8452, allocations: 2.993 MB / 1.102 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.8463, allocations: 0.6914 MB / 1.103 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.8479, allocations: 0.8559 MB / 1.104 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008905/0.8488, allocations: 0.7118 MB / 1.105 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.8489, allocations: 36 kB / 1.105 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.8501, allocations: 0.5497 MB / 1.105 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.8504, allocations: 278.9 kB / 1.106 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.8507, allocations: 237.1 kB / 1.106 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.8518, allocations: 1.017 MB / 1.107 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.8518, allocations: 3.984 kB / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8518, allocations: 0 / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.8518, allocations: 0 / 1.107 GB, free: 3.117 MB / 0.8575 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.00199/0.8538, allocations: 1.311 MB / 1.108 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.8539, allocations: 8.031 kB / 1.108 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.854, allocations: 98.5 kB / 1.108 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.8547, allocations: 182.5 kB / 1.108 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.856, allocations: 0.8001 MB / 1.109 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.8561, allocations: 48.94 kB / 1.109 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.8561, allocations: 60 kB / 1.109 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.8573, allocations: 0.7888 MB / 1.11 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.8573, allocations: 7.938 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.8574, allocations: 20 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.8574, allocations: 16 kB / 1.11 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.8583, allocations: 0.5461 MB / 1.111 GB, free: 15.03 MB / 0.8731 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.004002/0.8623, allocations: 4.603 MB / 1.115 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.863, allocations: 431 kB / 1.115 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.8634, allocations: 254.9 kB / 1.116 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.8637, allocations: 190.2 kB / 1.116 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.8642, allocations: 301.1 kB / 1.116 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.8642, allocations: 0 / 1.116 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.00133/0.8655, allocations: 0.6523 MB / 1.117 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.8656, allocations: 81.11 kB / 1.117 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.8669, allocations: 1.11 MB / 1.118 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.8669, allocations: 37.7 kB / 1.118 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.8673, allocations: 496.1 kB / 1.118 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.8674, allocations: 114.4 kB / 1.119 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.8675, allocations: 4 kB / 1.119 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8676, allocations: 338 kB / 1.119 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.8679, allocations: 180.7 kB / 1.119 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.8685, allocations: 0.5018 MB / 1.12 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.8689, allocations: 298.5 kB / 1.12 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.869, allocations: 0 / 1.12 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001131/0.8701, allocations: 0.681 MB / 1.121 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.8703, allocations: 271.1 kB / 1.121 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.8703, allocations: 11.98 kB / 1.121 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.8703, allocations: 8 kB / 1.121 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.8721, allocations: 379.4 kB / 1.121 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.8755, allocations: 6.095 MB / 1.127 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.8764, allocations: 103.6 kB / 1.127 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.8765, allocations: 27.98 kB / 1.127 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.8765, allocations: 8 kB / 1.127 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00088/0.8774, allocations: 0.536 MB / 1.128 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.8774, allocations: 8 kB / 1.128 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.8774, allocations: 8 kB / 1.128 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.878, allocations: 160.3 kB / 1.128 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.878, allocations: 8 kB / 1.128 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/0.8788, allocations: 95.52 kB / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.8789, allocations: 24 kB / 1.128 GB, free: 12.12 MB / 0.8887 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.0006582/0.8796, allocations: 480.7 kB / 1.129 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.8797, allocations: 102.7 kB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008513/0.8805, allocations: 0.4911 MB / 1.129 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.8806, allocations: 4 kB / 1.129 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8806, allocations: 4 kB / 1.129 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.8806, allocations: 4 kB / 1.129 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.8825, allocations: 1.385 MB / 1.13 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8825, allocations: 4 kB / 1.13 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.8831, allocations: 159.8 kB / 1.131 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.8831, allocations: 4.219 kB / 1.131 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.8831, allocations: 12 kB / 1.131 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.8862, allocations: 6.021 MB / 1.137 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.8862, allocations: 7.969 kB / 1.137 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.8871, allocations: 0.6064 MB / 1.137 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.8875, allocations: 219.8 kB / 1.137 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.8876, allocations: 8 kB / 1.137 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.888, allocations: 55.8 kB / 1.137 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.8881, allocations: 35.89 kB / 1.137 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.8881, allocations: 15.94 kB / 1.137 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001009/0.8892, allocations: 0.7836 MB / 1.138 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8892, allocations: 0 / 1.138 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001205/0.8904, allocations: 407.4 kB / 1.139 GB, free: 0.9453 MB / 0.8887 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.001348/0.8917, allocations: 1.24 MB / 1.14 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002928/0.8947, allocations: 1.105 MB / 1.141 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8947, allocations: 3.938 kB / 1.141 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/0.8955, allocations: 301.3 kB / 1.141 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.8975, allocations: 454 kB / 1.142 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.9083, allocations: 6.307 MB / 1.148 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008704/0.9092, allocations: 1.188 MB / 1.149 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001111/0.9103, allocations: 371.5 kB / 1.149 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/0.9107, allocations: 311.3 kB / 1.15 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of SimCode: time 9.32e-07/0.9107, allocations: 0 / 1.15 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/0.9576, allocations: 26.42 MB / 1.175 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.9578, allocations: 264.1 kB / 1.176 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.403, allocations: 0 / 1.176 GB, free: 10.93 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat does not exist to compare? outputFormat=mat