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/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_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008165/0.0008166, allocations: 92.86 kB / 16.65 MB, free: 6.535 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.0008182/0.0008182, allocations: 174 kB / 17.56 MB, free: 6.184 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.403/1.403, 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.2612/0.2612, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0005004/0.0005005, allocations: 14.27 kB / 391.8 MB, free: 50.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09322, allocations: 60.26 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A): time 0.4193/0.5126, allocations: 191.5 MB / 0.6285 GB, free: 8.004 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007442/0.5201, allocations: 5.141 MB / 0.6335 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008754/0.521, allocations: 19.91 kB / 0.6335 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009827/0.522, allocations: 314.1 kB / 0.6338 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.524, allocations: 0.8398 MB / 0.6346 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.5266, allocations: 0.9064 MB / 0.6355 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00537/0.5319, allocations: 6.17 MB / 0.6416 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.5335, allocations: 1.198 MB / 0.6427 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.5356, allocations: 1.453 MB / 0.6441 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.5376, allocations: 1.577 MB / 0.6457 GB, free: 9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.5379, allocations: 116 kB / 0.6458 GB, free: 8.887 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.539, allocations: 387.6 kB / 0.6462 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008215/0.5398, allocations: 0.9115 MB / 0.6471 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.5411, allocations: 1.227 MB / 0.6483 GB, free: 6.355 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.5442, allocations: 3.201 MB / 0.6514 GB, free: 3.145 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5442, allocations: 4 kB / 0.6514 GB, free: 3.141 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.5442, allocations: 0 / 0.6514 GB, free: 3.141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.5443, allocations: 3.938 kB / 0.6514 GB, free: 3.137 MB / 462.1 MB 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.005011/0.5493, allocations: 2.256 MB / 0.6536 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5494, allocations: 12.03 kB / 0.6536 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005898/0.5553, allocations: 0.6805 MB / 0.6543 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.5572, allocations: 1.145 MB / 0.6554 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.5574, allocations: 157.1 kB / 0.6555 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006248/0.558, allocations: 287.6 kB / 0.6558 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005558/0.5636, allocations: 3.495 MB / 0.6592 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.5636, allocations: 0 / 0.6592 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.5639, allocations: 95.98 kB / 0.6593 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.564, allocations: 116 kB / 0.6594 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005977/0.57, allocations: 3.743 MB / 0.6631 GB, free: 6.926 MB / 478.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.01569/0.5857, allocations: 11.01 MB / 0.6738 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/0.5902, allocations: 2.99 MB / 0.6768 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.5922, allocations: 1.369 MB / 0.6781 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.5923, allocations: 34.12 kB / 0.6781 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.5924, allocations: 60.56 kB / 0.6782 GB, free: 6.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 3.898e-06/0.5924, allocations: 4 kB / 0.6782 GB, free: 6.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=206): time 0.02075/0.6132, allocations: 8.793 MB / 0.6868 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.6133, allocations: 103.1 kB / 0.6869 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.6143, allocations: 0.8327 MB / 0.6877 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/0.6145, allocations: 69.7 kB / 0.6878 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.615, allocations: 0.7445 MB / 0.6885 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/0.6156, allocations: 0.724 MB / 0.6892 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.6159, allocations: 190.2 kB / 0.6894 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.616, allocations: 353.9 kB / 0.6897 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.618, allocations: 1.191 MB / 0.6909 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.6203, allocations: 1.765 MB / 0.6926 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/0.6248, allocations: 3.136 MB / 0.6957 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.6249, allocations: 4 kB / 0.6957 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.0243/0.6492, allocations: 5.494 MB / 0.701 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004071/0.6496, allocations: 0.5643 MB / 0.7016 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.6497, allocations: 20 kB / 0.7016 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.66, allocations: 2.721 MB / 0.7043 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.6618, allocations: 475.4 kB / 0.7047 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/0.6686, allocations: 5.47 MB / 0.71 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.671, allocations: 251.6 kB / 0.7103 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.6713, allocations: 168 kB / 0.7104 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.6713, allocations: 4 kB / 0.7105 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02431/0.6956, allocations: 5.338 MB / 0.7157 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.262e-05/0.6957, allocations: 16 kB / 0.7157 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.7059, allocations: 2.721 MB / 0.7183 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.7079, allocations: 475.4 kB / 0.7188 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007142/0.715, allocations: 5.47 MB / 0.7241 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.7173, allocations: 243.7 kB / 0.7244 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003284/0.7176, allocations: 160 kB / 0.7245 GB, free: 6.199 MB / 0.5294 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 (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 {(10,98)} Notification: Performance of prepare postOptimizeDAE: time 0.00125/0.7189, allocations: 0.6764 MB / 0.7252 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.7193, allocations: 146.3 kB / 0.7253 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009144/0.7284, allocations: 4.128 MB / 0.7293 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.7285, allocations: 20 kB / 0.7294 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.7285, allocations: 8 kB / 0.7294 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.7285, allocations: 11.95 kB / 0.7294 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.202/0.9305, allocations: 5.96 MB / 0.7352 GB, free: 207.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.9306, allocations: 5.125 kB / 0.7352 GB, free: 207.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/0.9329, allocations: 466.3 kB / 0.7357 GB, free: 207.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00395/0.9369, allocations: 1.126 MB / 0.7368 GB, free: 207.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.9371, allocations: 84.81 kB / 0.7368 GB, free: 207.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.9473, allocations: 8.035 MB / 0.7447 GB, free: 203 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9474, allocations: 1.5 kB / 0.7447 GB, free: 203 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009529/0.9569, allocations: 5.049 MB / 0.7496 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.9574, allocations: 201.1 kB / 0.7498 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.9576, allocations: 52.69 kB / 0.7499 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/0.9595, allocations: 178 kB / 0.75 GB, free: 201.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.9599, allocations: 159.2 kB / 0.7502 GB, free: 201.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000274/0.9602, allocations: 147.9 kB / 0.7503 GB, free: 201.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008443/0.9611, allocations: 0.5706 MB / 0.7509 GB, free: 200.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9611, allocations: 7.562 kB / 0.7509 GB, free: 200.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004028/0.9651, allocations: 1.117 MB / 0.752 GB, free: 200.8 MB / 0.5294 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 (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.0007269/0.9659, allocations: 228.6 kB / 0.7522 GB, free: 200.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009071/0.9749, allocations: 5.183 MB / 0.7573 GB, free: 198.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.975, allocations: 9.859 kB / 0.7573 GB, free: 198.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003223/0.9782, allocations: 1.964 MB / 0.7592 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/0.9815, allocations: 0.6487 MB / 0.7598 GB, free: 197.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006881/0.9884, allocations: 5.718 MB / 0.7654 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/0.9892, allocations: 1.542 MB / 0.7669 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003546/0.9928, allocations: 1.107 MB / 0.768 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008793/0.9937, allocations: 231.3 kB / 0.7682 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.9937, allocations: 4 kB / 0.7682 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.06407/1.058, allocations: 58.32 MB / 0.8252 GB, free: 131.5 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.makefile Environment - environmentSimulation: (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe 2>&1) Environment - environmentSimulation: