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.0009903/0.0009905, allocations: 92.77 kB / 16.3 MB, free: 6.133 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.00113/0.00113, allocations: 179 kB / 17.2 MB, free: 6.016 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.49/1.49, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3081/0.3081, allocations: 48.78 MB / 320.4 MB, free: 11.33 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.0005787/0.0005787, allocations: 17.84 kB / 391.1 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 60.28 MB / 451.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B): time 0.4672/0.5931, allocations: 153 MB / 0.5902 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007247/0.6004, allocations: 4.79 MB / 0.5949 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.6015, allocations: 20.05 kB / 0.5949 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.6029, allocations: 401.7 kB / 0.5953 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.605, allocations: 0.6291 MB / 0.5959 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.6087, allocations: 1.101 MB / 0.597 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003714/0.6125, allocations: 2.946 MB / 0.5999 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.6144, allocations: 1.374 MB / 0.6012 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.617, allocations: 1.488 MB / 0.6027 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.6188, allocations: 1.31 MB / 0.604 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.6192, allocations: 144.5 kB / 0.6041 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.6219, allocations: 0.8133 MB / 0.6049 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.6233, allocations: 1.227 MB / 0.6061 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.6243, allocations: 0.5626 MB / 0.6066 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.6281, allocations: 3.347 MB / 0.6099 GB, free: 7.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.6281, allocations: 0 / 0.6099 GB, free: 7.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6281, allocations: 3.938 kB / 0.6099 GB, free: 7.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001195/0.6283, allocations: 2.281 kB / 0.6099 GB, free: 7.109 MB / 430.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.007805/0.6361, allocations: 2.741 MB / 0.6126 GB, free: 5.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/0.6362, allocations: 11.89 kB / 0.6126 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00854/0.6447, allocations: 1.5 MB / 0.6141 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00391/0.6486, allocations: 1.413 MB / 0.6154 GB, free: 4.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.6488, allocations: 188.4 kB / 0.6156 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000953/0.6498, allocations: 387.6 kB / 0.616 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008707/0.6585, allocations: 4.744 MB / 0.6206 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.6586, allocations: 0 / 0.6206 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003998/0.659, allocations: 112 kB / 0.6207 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.6592, allocations: 197.2 kB / 0.6209 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008518/0.6677, allocations: 5.447 MB / 0.6262 GB, free: 9.914 MB / 446.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.03336/0.7011, allocations: 15.02 MB / 0.6409 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.713, allocations: 11.25 MB / 0.6519 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.7135, allocations: 50.05 kB / 0.6519 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.889e-05/0.7136, allocations: 77.27 kB / 0.652 GB, free: 12.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=271): time 5.401e-06/0.7136, allocations: 0 / 0.652 GB, free: 12.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=276): time 0.04314/0.7568, allocations: 14.39 MB / 0.6661 GB, free: 14.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.7569, allocations: 107.3 kB / 0.6662 GB, free: 13.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.7581, allocations: 0.6996 MB / 0.6669 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006345/0.7587, allocations: 91.06 kB / 0.6669 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.7594, allocations: 0.7468 MB / 0.6677 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001336/0.7607, allocations: 0.951 MB / 0.6686 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.761, allocations: 48 kB / 0.6686 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.7613, allocations: 406.7 kB / 0.669 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.765, allocations: 2.023 MB / 0.671 GB, free: 8.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/0.7691, allocations: 2.252 MB / 0.6732 GB, free: 6.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.7733, allocations: 2.242 MB / 0.6754 GB, free: 4.363 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.7733, allocations: 4 kB / 0.6754 GB, free: 4.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.08301/0.8563, allocations: 14.7 MB / 0.6898 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004756/0.8569, allocations: 0.9765 MB / 0.6907 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.8569, allocations: 4 kB / 0.6907 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06014/0.917, allocations: 13.7 MB / 0.7041 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.9187, allocations: 307.5 kB / 0.7044 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.9311, allocations: 8.464 MB / 0.7127 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/0.9353, allocations: 447.4 kB / 0.7131 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/0.9357, allocations: 91.97 kB / 0.7132 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9357, allocations: 4 kB / 0.7132 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05907/0.9948, allocations: 10.9 MB / 0.7238 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.9948, allocations: 0 / 0.7238 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02852/1.023, allocations: 8.225 MB / 0.7318 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/1.025, allocations: 351.5 kB / 0.7322 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/1.037, allocations: 8.049 MB / 0.74 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/1.04, allocations: 439.4 kB / 0.7405 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/1.04, allocations: 95.95 kB / 0.7406 GB, free: 1.211 MB / 0.545 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 (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 {12 155} Notification: Performance of prepare postOptimizeDAE: time 0.001746/1.042, allocations: 0.7992 MB / 0.7413 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/1.043, allocations: 170.2 kB / 0.7415 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2595/1.302, allocations: 6.335 MB / 0.7477 GB, free: 221.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/1.302, allocations: 28.59 kB / 0.7477 GB, free: 221.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/1.302, allocations: 6.844 kB / 0.7477 GB, free: 221.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.246e-05/1.302, allocations: 13.27 kB / 0.7477 GB, free: 221.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.324, allocations: 11.21 MB / 0.7587 GB, free: 217.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.324, allocations: 2.469 kB / 0.7587 GB, free: 217.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/1.327, allocations: 0.5425 MB / 0.7592 GB, free: 217.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004828/1.332, allocations: 1.635 MB / 0.7608 GB, free: 217.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006346/1.333, allocations: 123.8 kB / 0.7609 GB, free: 217.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.344, allocations: 9.597 MB / 0.7703 GB, free: 211.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.344, allocations: 3.906 kB / 0.7703 GB, free: 211.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.358, allocations: 8.384 MB / 0.7785 GB, free: 206.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009775/1.359, allocations: 222.5 kB / 0.7787 GB, free: 206.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/1.36, allocations: 91.92 kB / 0.7788 GB, free: 206.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003568/1.364, allocations: 384.9 kB / 0.7791 GB, free: 206 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005303/1.364, allocations: 191.5 kB / 0.7793 GB, free: 205.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003343/1.364, allocations: 144.7 kB / 0.7795 GB, free: 205.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000645/1.365, allocations: 0.4912 MB / 0.7799 GB, free: 205.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.365, allocations: 0 / 0.7799 GB, free: 205.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003859/1.369, allocations: 1.519 MB / 0.7814 GB, free: 203.7 MB / 0.545 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 (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.001484/1.37, allocations: 488.7 kB / 0.7819 GB, free: 203.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.383, allocations: 7.744 MB / 0.7895 GB, free: 195.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/1.383, allocations: 6.562 kB / 0.7895 GB, free: 195.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00478/1.388, allocations: 2.991 MB / 0.7924 GB, free: 192.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/1.392, allocations: 0.7841 MB / 0.7932 GB, free: 191.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.402, allocations: 7.666 MB / 0.8006 GB, free: 184.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/1.404, allocations: 1.86 MB / 0.8025 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00412/1.408, allocations: 1.106 MB / 0.8035 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009271/1.409, allocations: 171.4 kB / 0.8037 GB, free: 180.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/1.409, allocations: 0 / 0.8037 GB, free: 180.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1037/1.512, allocations: 93.6 MB / 0.8951 GB, free: 87.19 MB / 0.545 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: