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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001242/0.001242, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.254/1.254, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2556/0.2556, allocations: 48.84 MB / 320.8 MB, free: 11.02 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.001398/0.001398, allocations: 75.83 kB / 451.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09897, allocations: 59.16 MB / 0.4985 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C): time 0.394/0.493, allocations: 201 MB / 0.6948 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008061/0.5011, allocations: 6.41 MB / 0.701 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006462/0.5018, allocations: 19.88 kB / 0.701 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.5031, allocations: 0.4971 MB / 0.7015 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.5049, allocations: 0.9285 MB / 0.7024 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.5082, allocations: 1.486 MB / 0.7039 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004848/0.5131, allocations: 5.633 MB / 0.7094 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.5154, allocations: 1.786 MB / 0.7111 GB, free: 288 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.518, allocations: 1.974 MB / 0.713 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.5204, allocations: 1.998 MB / 0.715 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005198/0.5209, allocations: 316 kB / 0.7153 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.5235, allocations: 1.232 MB / 0.7165 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.5248, allocations: 1.575 MB / 0.718 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.5268, allocations: 1.782 MB / 0.7198 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.5313, allocations: 4.765 MB / 0.7244 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5313, allocations: 0 / 0.7244 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5313, allocations: 0 / 0.7244 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.131e-05/0.5314, allocations: 0 / 0.7244 GB, free: 2.613 MB / 0.5606 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.008185/0.5396, allocations: 3.577 MB / 0.7279 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5396, allocations: 19.83 kB / 0.7279 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00788/0.5475, allocations: 1.46 MB / 0.7294 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.5507, allocations: 1.625 MB / 0.731 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.5509, allocations: 201 kB / 0.7312 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.5519, allocations: 435.3 kB / 0.7316 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007646/0.5596, allocations: 5.01 MB / 0.7365 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.5597, allocations: 4 kB / 0.7365 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003927/0.5601, allocations: 112 kB / 0.7366 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/0.5603, allocations: 209.3 kB / 0.7368 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008451/0.5687, allocations: 5.541 MB / 0.7422 GB, free: 260 kB / 0.5762 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.2747/0.8434, allocations: 16.14 MB / 0.7579 GB, free: 43.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005024/0.8485, allocations: 4 MB / 0.7618 GB, free: 42.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.8515, allocations: 2.174 MB / 0.764 GB, free: 42.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.8517, allocations: 52.28 kB / 0.764 GB, free: 42.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.8518, allocations: 77.52 kB / 0.7641 GB, free: 42.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=287): time 4.769e-06/0.8518, allocations: 1.125 kB / 0.7641 GB, free: 42.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=292): time 0.03492/0.8867, allocations: 15.11 MB / 0.7789 GB, free: 41.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.8868, allocations: 108.1 kB / 0.779 GB, free: 41.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009292/0.8878, allocations: 0.7186 MB / 0.7797 GB, free: 41.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004455/0.8882, allocations: 84.36 kB / 0.7797 GB, free: 41.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.8886, allocations: 0.7512 MB / 0.7805 GB, free: 40.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007596/0.8894, allocations: 1.026 MB / 0.7815 GB, free: 40.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000903/0.8903, allocations: 0.4923 MB / 0.782 GB, free: 40.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.8903, allocations: 305.1 kB / 0.7822 GB, free: 39.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/0.8936, allocations: 2.268 MB / 0.7845 GB, free: 39.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003483/0.8971, allocations: 2.52 MB / 0.7869 GB, free: 39.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006638/0.9037, allocations: 4.975 MB / 0.7918 GB, free: 39.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.9038, allocations: 0 / 0.7918 GB, free: 39.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.07981/0.9836, allocations: 16.15 MB / 0.8076 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.9836, allocations: 8.688 kB / 0.8076 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.9837, allocations: 0 / 0.8076 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0626/1.046, allocations: 17.46 MB / 0.8246 GB, free: 25.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/1.048, allocations: 333.1 kB / 0.8249 GB, free: 24.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/1.071, allocations: 10.54 MB / 0.8352 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/1.074, allocations: 236.6 kB / 0.8355 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/1.074, allocations: 109.2 kB / 0.8356 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00366/1.078, allocations: 2.773 MB / 0.8383 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002769/1.08, allocations: 2.404 MB / 0.8406 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005762/1.086, allocations: 4.737 MB / 0.8452 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/1.086, allocations: 0 / 0.8452 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=335) (initialization_lambda0): time 0.05772/1.144, allocations: 11.39 MB / 0.8564 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.144, allocations: 15.89 kB / 0.8564 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.144, allocations: 0.875 kB / 0.8564 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02762/1.172, allocations: 8.183 MB / 0.8644 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/1.174, allocations: 484.9 kB / 0.8648 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/1.185, allocations: 8.055 MB / 0.8727 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/1.188, allocations: 207.8 kB / 0.8729 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/1.188, allocations: 95.97 kB / 0.873 GB, free: 9.328 MB / 0.6231 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 (153): * Single equations (assignments): 149 * 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 {(85,98)} Notification: Performance of prepare postOptimizeDAE: time 0.001144/1.189, allocations: 309.9 kB / 0.8733 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007452/1.19, allocations: 166.2 kB / 0.8734 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.203, allocations: 6.68 MB / 0.88 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/1.203, allocations: 13.05 kB / 0.88 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.203, allocations: 2.812 kB / 0.88 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/1.204, allocations: 219.2 kB / 0.8802 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006243/1.204, allocations: 108 kB / 0.8803 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/1.208, allocations: 266.8 kB / 0.8805 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006442/1.209, allocations: 225.9 kB / 0.8808 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01747/1.226, allocations: 6.962 MB / 0.8876 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01289/1.239, allocations: 7.796 MB / 0.8952 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004172/1.243, allocations: 2.623 MB / 0.8977 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000715/1.244, allocations: 0.4912 MB / 0.8982 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of Backend: time 3.21e-07/1.244, allocations: 0 / 0.8982 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.03018/1.274, allocations: 9.005 MB / 0.907 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of SimCode: time 0.01077/1.285, allocations: 6.538 MB / 0.9134 GB, free: 15.91 MB / 0.67 GB Notification: Performance of Templates: time 0.1319/1.417, allocations: 102.5 MB / 1.014 GB, free: 9.391 MB / 0.7637 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)