Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 175.7 kB / 17.4 MB, free: 4.418 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.812/1.812, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.000931/0.0009308, allocations: 85.05 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4922/0.4922, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004183, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 60.26 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.65/2.808, allocations: 1.078 GB / 1.567 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/2.809, allocations: 85.88 kB / 1.567 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.596/4.405, allocations: 499.2 MB / 2.054 GB, free: 37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.886e-06/4.405, allocations: 0 / 2.054 GB, free: 37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000246/4.405, allocations: 52 kB / 2.054 GB, free: 36.95 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: 696 * Number of variables: 696 Notification: Performance of Generate backend data structure: time 0.01037/4.415, allocations: 2.851 MB / 2.057 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/4.415, allocations: 8.031 kB / 2.057 GB, free: 34.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008372/4.424, allocations: 1.246 MB / 2.058 GB, free: 32.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005497/4.429, allocations: 1.752 MB / 2.06 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/4.429, allocations: 201.5 kB / 2.06 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/4.431, allocations: 308 kB / 2.061 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/4.443, allocations: 4.821 MB / 2.065 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.471e-05/4.443, allocations: 7.875 kB / 2.065 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/4.444, allocations: 112 kB / 2.065 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/4.444, allocations: 137.4 kB / 2.066 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009863/4.454, allocations: 5.318 MB / 2.071 GB, free: 20.01 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.02546/4.48, allocations: 16.15 MB / 2.087 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006389/4.486, allocations: 4.63 MB / 2.091 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/4.49, allocations: 2.136 MB / 2.093 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/4.49, allocations: 147.2 kB / 2.093 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/4.491, allocations: 81.3 kB / 2.093 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 6.763e-06/4.491, allocations: 3.938 kB / 2.093 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282): time 0.3851/4.876, allocations: 13.16 MB / 2.106 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/4.876, allocations: 105.9 kB / 2.106 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/4.877, allocations: 0.7027 MB / 2.107 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009743/4.878, allocations: 86.36 kB / 2.107 GB, free: 79.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006116/4.879, allocations: 0.7651 MB / 2.108 GB, free: 79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/4.88, allocations: 0.9922 MB / 2.109 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/4.88, allocations: 51.09 kB / 2.109 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002216/4.88, allocations: 416.9 kB / 2.109 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/4.884, allocations: 1.774 MB / 2.111 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/4.887, allocations: 2.059 MB / 2.113 GB, free: 78.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006125/4.893, allocations: 4.027 MB / 2.117 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/4.893, allocations: 0 / 2.117 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01024/4.903, allocations: 6.076 MB / 2.123 GB, free: 77.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/4.904, allocations: 182.3 kB / 2.123 GB, free: 77.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/4.904, allocations: 2.719 kB / 2.123 GB, free: 77.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07859/4.982, allocations: 15.59 MB / 2.138 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/4.984, allocations: 335.8 kB / 2.139 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/5.002, allocations: 8.862 MB / 2.147 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/5.005, allocations: 466.8 kB / 2.148 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006528/5.006, allocations: 99.14 kB / 2.148 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/5.006, allocations: 8.781 kB / 2.148 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01141/5.018, allocations: 5.43 MB / 2.153 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/5.018, allocations: 7.312 kB / 2.153 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04621/5.064, allocations: 7.185 MB / 2.16 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/5.067, allocations: 0.5622 MB / 2.161 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008219/5.075, allocations: 6.778 MB / 2.167 GB, free: 72.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/5.078, allocations: 426.1 kB / 2.168 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005462/5.079, allocations: 99.58 kB / 2.168 GB, free: 72.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (151): * Single equations (assignments): 147 * 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 {77 98} Notification: Performance of prepare postOptimizeDAE: time 0.002575/5.081, allocations: 0.8177 MB / 2.169 GB, free: 72.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007929/5.082, allocations: 171.8 kB / 2.169 GB, free: 72.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/5.093, allocations: 5.737 MB / 2.174 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/5.093, allocations: 25.47 kB / 2.174 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-05/5.093, allocations: 6.562 kB / 2.174 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-05/5.093, allocations: 19.64 kB / 2.174 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/5.113, allocations: 9.571 MB / 2.184 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/5.113, allocations: 0 / 2.184 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/5.115, allocations: 0.5508 MB / 2.184 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004178/5.12, allocations: 1.525 MB / 2.186 GB, free: 71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005108/5.12, allocations: 131.7 kB / 2.186 GB, free: 71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/5.131, allocations: 9.139 MB / 2.195 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/5.131, allocations: 2.656 kB / 2.195 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/5.144, allocations: 7.527 MB / 2.202 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/5.145, allocations: 224.4 kB / 2.202 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/5.146, allocations: 105.6 kB / 2.203 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/5.149, allocations: 364.8 kB / 2.203 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000643/5.15, allocations: 201.1 kB / 2.203 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005515/5.15, allocations: 149.8 kB / 2.203 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007564/5.151, allocations: 498.2 kB / 2.204 GB, free: 65.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/5.151, allocations: 0 / 2.204 GB, free: 65.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00595/5.157, allocations: 1.608 MB / 2.205 GB, free: 65.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 29 (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.Xtilde[1,1],hex.Xtilde[1,2],hex.Xtilde[2,1],hex.Xtilde[2,2],hex.Xtilde[3,1],hex.Xtilde[3,2],hex.Xtilde[4,1],hex.Xtilde[4,2],hex.Xtilde[5,1],hex.Xtilde[5,2],hex.Xtilde[6,1],hex.Xtilde[6,2],hex.Xtilde[7,1],hex.Xtilde[7,2],hex.Xtilde[8,1],hex.Xtilde[8,2],hex.Xtilde[9,1],hex.Xtilde[9,2],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 (261): * Single equations (assignments): 257 * 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.003061/5.16, allocations: 1.226 MB / 2.206 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01959/5.18, allocations: 8.535 MB / 2.215 GB, free: 62.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/5.18, allocations: 6.219 kB / 2.215 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/5.185, allocations: 2.674 MB / 2.217 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005747/5.19, allocations: 0.8853 MB / 2.218 GB, free: 61.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/5.205, allocations: 8.881 MB / 2.227 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/5.208, allocations: 1.859 MB / 2.229 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006049/5.214, allocations: 1.111 MB / 2.23 GB, free: 57.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/5.215, allocations: 178.1 kB / 2.23 GB, free: 57 MB / 0.5261 GB Notification: Performance of SimCode: time 2.475e-06/5.215, allocations: 0 / 2.23 GB, free: 57 MB / 0.5261 GB Notification: Performance of Templates: time 0.4122/5.627, allocations: 87.21 MB / 2.315 GB, free: 94.77 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe 2>&1)