Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001635, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009851/0.0009853, allocations: 96.06 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5499/0.5499, allocations: 48.78 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 15.98 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1636, allocations: 60.25 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/1.696, allocations: 457.1 MB / 0.9337 GB, free: 168 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/1.696, allocations: 83.75 kB / 0.9338 GB, free: 168 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8566/2.553, allocations: 228.6 MB / 1.157 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.308e-06/2.553, allocations: 0 / 1.157 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001797/2.553, allocations: 43.88 kB / 1.157 GB, free: 99.07 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.01073/2.564, allocations: 2.234 MB / 1.159 GB, free: 98.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.611e-05/2.564, allocations: 9.5 kB / 1.159 GB, free: 98.22 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001818/2.566, allocations: 311 kB / 1.16 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004988/2.571, allocations: 479.8 kB / 1.16 GB, free: 98.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004868/2.576, allocations: 1.191 MB / 1.161 GB, free: 97.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/2.576, allocations: 148.1 kB / 1.161 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006463/2.577, allocations: 219.5 kB / 1.162 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006158/2.583, allocations: 3.235 MB / 1.165 GB, free: 97.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/2.583, allocations: 1.938 kB / 1.165 GB, free: 97.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/2.583, allocations: 95.36 kB / 1.165 GB, free: 97.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/2.583, allocations: 113.2 kB / 1.165 GB, free: 97.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005688/2.589, allocations: 3.372 MB / 1.168 GB, free: 97.32 MB / 0.5105 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.01625/2.605, allocations: 11.1 MB / 1.179 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/2.609, allocations: 2.607 MB / 1.182 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/2.609, allocations: 112.2 kB / 1.182 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/2.609, allocations: 62.97 kB / 1.182 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 5.37e-06/2.609, allocations: 0 / 1.182 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.02105/2.631, allocations: 8.114 MB / 1.19 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/2.631, allocations: 96.33 kB / 1.19 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/2.632, allocations: 0.7307 MB / 1.19 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003731/2.632, allocations: 72.83 kB / 1.191 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/2.633, allocations: 0.7581 MB / 1.191 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007412/2.634, allocations: 0.7181 MB / 1.192 GB, free: 85.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/2.634, allocations: 47 kB / 1.192 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002222/2.634, allocations: 445 kB / 1.192 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/2.636, allocations: 1.037 MB / 1.193 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/2.638, allocations: 1.633 MB / 1.195 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/2.64, allocations: 1.325 MB / 1.196 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/2.64, allocations: 3.781 kB / 1.196 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.006191/2.646, allocations: 3.686 MB / 1.2 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.003824/2.65, allocations: 6.28 MB / 1.206 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/2.65, allocations: 18.59 kB / 1.206 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01979/2.67, allocations: 3.014 MB / 1.209 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/2.672, allocations: 480 kB / 1.209 GB, free: 73.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007554/2.679, allocations: 5.06 MB / 1.214 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003937/2.684, allocations: 244.3 kB / 1.215 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009171/2.684, allocations: 163.1 kB / 1.215 GB, free: 69.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/2.685, allocations: 3.875 kB / 1.215 GB, free: 69.28 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009185/2.694, allocations: 3.516 MB / 1.218 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.306e-05/2.694, allocations: 14.47 kB / 1.218 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01971/2.714, allocations: 3.018 MB / 1.221 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/2.716, allocations: 476.7 kB / 1.222 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/2.724, allocations: 5.067 MB / 1.227 GB, free: 62.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/2.727, allocations: 228 kB / 1.227 GB, free: 62.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007764/2.728, allocations: 173 kB / 1.227 GB, free: 62.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 98} Notification: Performance of prepare postOptimizeDAE: time 0.002748/2.731, allocations: 0.6691 MB / 1.228 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009769/2.732, allocations: 140.4 kB / 1.228 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009838/2.742, allocations: 3.838 MB / 1.232 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/2.742, allocations: 20 kB / 1.232 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.964e-05/2.742, allocations: 4 kB / 1.232 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/2.742, allocations: 11.95 kB / 1.232 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/2.754, allocations: 5.535 MB / 1.237 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/2.755, allocations: 4.25 kB / 1.237 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/2.757, allocations: 463.6 kB / 1.237 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00346/2.76, allocations: 1.121 MB / 1.239 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004248/2.76, allocations: 87.92 kB / 1.239 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/2.771, allocations: 8.319 MB / 1.247 GB, free: 43.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.772, allocations: 0 / 1.247 GB, free: 43.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009763/2.781, allocations: 4.757 MB / 1.251 GB, free: 38.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009505/2.782, allocations: 203.4 kB / 1.252 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000783/2.783, allocations: 47.98 kB / 1.252 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/2.785, allocations: 179.6 kB / 1.252 GB, free: 37.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005483/2.786, allocations: 157.8 kB / 1.252 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004978/2.787, allocations: 151.9 kB / 1.252 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001026/2.788, allocations: 0.5497 MB / 1.253 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/2.788, allocations: 0 / 1.253 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006809/2.794, allocations: 1.18 MB / 1.254 GB, free: 35.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (Mbal,hex.Ttilde[1],hex.Ttilde[2],hex.Ttilde[3],hex.Ttilde[4],hex.Ttilde[5],hex.Ttilde[6],hex.Ttilde[7],hex.Ttilde[8],hex.Ttilde[9],hex.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01204/2.807, allocations: 6.368 MB / 1.26 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01033/2.817, allocations: 4.704 MB / 1.265 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.057e-05/2.817, allocations: 5.188 kB / 1.265 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004166/2.821, allocations: 1.792 MB / 1.266 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/2.825, allocations: 0.6028 MB / 1.267 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3992/3.224, allocations: 24.01 MB / 1.29 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/3.227, allocations: 1.569 MB / 1.292 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005497/3.232, allocations: 1.092 MB / 1.293 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002066/3.234, allocations: 0.7654 MB / 1.294 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of SimCode: time 2.215e-06/3.234, allocations: 0 / 1.294 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1817/3.416, allocations: 78.31 MB / 1.37 GB, free: 77.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/3.416, allocations: 230 kB / 1.37 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.383/8.799, allocations: 0 / 1.37 GB, free: 77.04 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe 2>&1)