Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.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 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 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 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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007442/0.0007443, allocations: 92.83 kB / 16.65 MB, free: 6.586 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.0008371/0.0008372, allocations: 181.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2681/0.2681, allocations: 48.78 MB / 320.8 MB, free: 11.11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004862, allocations: 15.69 kB / 391.8 MB, free: 50.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09787, allocations: 60.26 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B): time 0.4361/0.534, allocations: 196.8 MB / 0.6336 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.5431, allocations: 6.463 MB / 0.6399 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009368/0.5441, allocations: 15.47 kB / 0.64 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.5456, allocations: 453.9 kB / 0.6404 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.548, allocations: 0.8845 MB / 0.6413 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.5517, allocations: 1.369 MB / 0.6426 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007116/0.5588, allocations: 7.336 MB / 0.6498 GB, free: 4.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.5613, allocations: 1.451 MB / 0.6512 GB, free: 3.211 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.5645, allocations: 1.577 MB / 0.6527 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003273/0.5678, allocations: 1.904 MB / 0.6546 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007453/0.5686, allocations: 144 kB / 0.6547 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.5722, allocations: 1.505 MB / 0.6562 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.5738, allocations: 1.321 MB / 0.6575 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.5759, allocations: 1.53 MB / 0.659 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004748/0.5807, allocations: 4.397 MB / 0.6633 GB, free: 6.793 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5807, allocations: 0 / 0.6633 GB, free: 6.793 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5807, allocations: 0 / 0.6633 GB, free: 6.793 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.111e-05/0.5808, allocations: 0 / 0.6633 GB, free: 6.793 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.006524/0.5873, allocations: 2.718 MB / 0.6659 GB, free: 4.016 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.5874, allocations: 12.03 kB / 0.6659 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.6013, allocations: 1.959 MB / 0.6678 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.6047, allocations: 1.559 MB / 0.6694 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.6049, allocations: 189 kB / 0.6695 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/0.6062, allocations: 379.7 kB / 0.6699 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009032/0.6152, allocations: 5.268 MB / 0.675 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.6153, allocations: 7.875 kB / 0.6751 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/0.6158, allocations: 112 kB / 0.6752 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/0.616, allocations: 185.2 kB / 0.6753 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.627, allocations: 6.344 MB / 0.6815 GB, free: 3.883 MB / 494.1 MB 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.02688/0.6539, allocations: 16.35 MB / 0.6975 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.6644, allocations: 11.6 MB / 0.7088 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004118/0.6686, allocations: 2.371 MB / 0.7111 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.6688, allocations: 42.03 kB / 0.7112 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.21e-05/0.6689, allocations: 77.27 kB / 0.7113 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=271): time 3.937e-06/0.6689, allocations: 0 / 0.7113 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=276): time 0.03474/0.7036, allocations: 14.48 MB / 0.7254 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.7037, allocations: 107.3 kB / 0.7255 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.7047, allocations: 0.7035 MB / 0.7262 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005393/0.7053, allocations: 81.7 kB / 0.7263 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/0.7058, allocations: 0.7431 MB / 0.727 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009462/0.7067, allocations: 0.9549 MB / 0.7279 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.7071, allocations: 190.5 kB / 0.7281 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.7072, allocations: 301.1 kB / 0.7284 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1969/0.9041, allocations: 2.041 MB / 0.7304 GB, free: 206.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/0.9087, allocations: 2.284 MB / 0.7326 GB, free: 206.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008634/0.9174, allocations: 4.519 MB / 0.737 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/0.9175, allocations: 0.9688 kB / 0.737 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.08955/1.007, allocations: 14.77 MB / 0.7515 GB, free: 201.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.495e-05/1.007, allocations: 166.5 kB / 0.7516 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.007, allocations: 3.812 kB / 0.7516 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05761/1.065, allocations: 13.73 MB / 0.765 GB, free: 191.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.066, allocations: 307.5 kB / 0.7653 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.077, allocations: 8.45 MB / 0.7736 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/1.08, allocations: 453.3 kB / 0.774 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003082/1.08, allocations: 95.95 kB / 0.7741 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.081, allocations: 4 kB / 0.7741 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05919/1.14, allocations: 10.93 MB / 0.7848 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.14, allocations: 4 kB / 0.7848 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02576/1.166, allocations: 8.227 MB / 0.7928 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/1.167, allocations: 346.1 kB / 0.7931 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008658/1.176, allocations: 8.071 MB / 0.801 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/1.179, allocations: 445.4 kB / 0.8014 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/1.179, allocations: 91.97 kB / 0.8015 GB, free: 154 MB / 0.5294 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 (137): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,155)} Notification: Performance of prepare postOptimizeDAE: time 0.001402/1.181, allocations: 0.805 MB / 0.8023 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.181, allocations: 160.5 kB / 0.8025 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.192, allocations: 6.348 MB / 0.8087 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.192, allocations: 28 kB / 0.8087 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.192, allocations: 10.19 kB / 0.8087 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/1.192, allocations: 15.95 kB / 0.8087 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/1.208, allocations: 11.2 MB / 0.8197 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.208, allocations: 0 / 0.8197 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003108/1.211, allocations: 0.5489 MB / 0.8202 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004387/1.215, allocations: 1.643 MB / 0.8218 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003839/1.216, allocations: 119.9 kB / 0.8219 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009809/1.226, allocations: 9.314 MB / 0.831 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.226, allocations: 5.188 kB / 0.831 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/1.238, allocations: 8.319 MB / 0.8391 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/1.239, allocations: 215.3 kB / 0.8393 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/1.239, allocations: 95.95 kB / 0.8394 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/1.243, allocations: 387 kB / 0.8398 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/1.243, allocations: 189.8 kB / 0.84 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003026/1.244, allocations: 139.9 kB / 0.8401 GB, free: 114 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005224/1.244, allocations: 0.5029 MB / 0.8406 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.244, allocations: 0 / 0.8406 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002902/1.247, allocations: 1.531 MB / 0.8421 GB, free: 112 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (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.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 (255): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,18,64.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/1.249, allocations: 0.5241 MB / 0.8426 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.261, allocations: 7.772 MB / 0.8502 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.261, allocations: 6.875 kB / 0.8502 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004433/1.265, allocations: 2.998 MB / 0.8531 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/1.27, allocations: 0.819 MB / 0.8539 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.28, allocations: 7.869 MB / 0.8616 GB, free: 91.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.281, allocations: 1.825 MB / 0.8634 GB, free: 90.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004008/1.285, allocations: 1.099 MB / 0.8645 GB, free: 89.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/1.286, allocations: 171.4 kB / 0.8646 GB, free: 88.86 MB / 0.5294 GB Notification: Performance of SimCode: time 7.12e-07/1.286, allocations: 7.938 kB / 0.8647 GB, free: 88.85 MB / 0.5294 GB Notification: Performance of Templates: time 0.2878/1.574, allocations: 95.41 MB / 0.9578 GB, free: 192.9 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe 2>&1) Environment - environmentSimulation: