Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.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.GasComponents.TestGT_ISO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO") translateModel(ThermoPower.Test.GasComponents.TestGT_ISO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.001616/0.001616, allocations: 183 kB / 18.68 MB, free: 4.383 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.397/1.397, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2973/0.2973, allocations: 48.84 MB / 320.8 MB, free: 11.01 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.001816/0.001816, allocations: 71.89 kB / 451.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1287, allocations: 59.15 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.5298/0.6585, allocations: 194.7 MB / 0.6886 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004411/0.663, allocations: 2.034 MB / 0.6905 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.6636, allocations: 7.938 kB / 0.6905 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.6649, allocations: 441.4 kB / 0.691 GB, free: 4.965 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001565/0.6665, allocations: 0.6374 MB / 0.6916 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.6695, allocations: 1.013 MB / 0.6926 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002573/0.6721, allocations: 1.894 MB / 0.6944 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.6732, allocations: 0.6809 MB / 0.6951 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.6745, allocations: 0.7822 MB / 0.6959 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008585/0.6754, allocations: 0.6305 MB / 0.6965 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.6756, allocations: 88 kB / 0.6966 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.6777, allocations: 0.7676 MB / 0.6973 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.6783, allocations: 0.5923 MB / 0.6979 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008298/0.6791, allocations: 0.7272 MB / 0.6986 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.6818, allocations: 2.018 MB / 0.7006 GB, free: 11.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6818, allocations: 0 / 0.7006 GB, free: 11.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6818, allocations: 4 kB / 0.7006 GB, free: 11.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.6818, allocations: 0 / 0.7006 GB, free: 11.11 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.00264/0.6845, allocations: 1.618 MB / 0.7022 GB, free: 9.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6845, allocations: 11.89 kB / 0.7022 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6856, allocations: 239.7 kB / 0.7024 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.6868, allocations: 0.7721 MB / 0.7031 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/0.6869, allocations: 69.94 kB / 0.7032 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.6871, allocations: 87.98 kB / 0.7033 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.6891, allocations: 1.248 MB / 0.7045 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.6891, allocations: 0 / 0.7045 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.6893, allocations: 48 kB / 0.7046 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.6893, allocations: 37.98 kB / 0.7046 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.6909, allocations: 0.9443 MB / 0.7055 GB, free: 5.895 MB / 0.545 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.00752/0.6984, allocations: 4.969 MB / 0.7104 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.6993, allocations: 395.2 kB / 0.7107 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.6996, allocations: 174.3 kB / 0.7109 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.613e-05/0.6997, allocations: 23.61 kB / 0.7109 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/0.6997, allocations: 46.56 kB / 0.711 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 4.278e-06/0.6997, allocations: 0 / 0.711 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.00316/0.7029, allocations: 0.9715 MB / 0.7119 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.703, allocations: 140.3 kB / 0.7121 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.7049, allocations: 1.55 MB / 0.7136 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.705, allocations: 41.7 kB / 0.7136 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.7055, allocations: 0.5636 MB / 0.7142 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.7056, allocations: 150.7 kB / 0.7143 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.7058, allocations: 126.2 kB / 0.7144 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.706, allocations: 329.9 kB / 0.7147 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.7064, allocations: 239.3 kB / 0.715 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.707, allocations: 448.4 kB / 0.7154 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.7079, allocations: 0.6148 MB / 0.716 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7079, allocations: 0 / 0.716 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001683/0.7096, allocations: 0.8919 MB / 0.7169 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.7096, allocations: 4 kB / 0.7169 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7097, allocations: 8 kB / 0.7169 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.7113, allocations: 255 kB / 0.7171 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.7119, allocations: 135.8 kB / 0.7173 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.7134, allocations: 1.419 MB / 0.7186 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.7142, allocations: 121.7 kB / 0.7188 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.7142, allocations: 32 kB / 0.7188 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007495/0.715, allocations: 0.5051 MB / 0.7193 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005143/0.7155, allocations: 437 kB / 0.7197 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008327/0.7164, allocations: 0.6136 MB / 0.7203 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/0.7164, allocations: 4 kB / 0.7203 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001664/0.718, allocations: 0.8616 MB / 0.7211 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7181, allocations: 11.91 kB / 0.7212 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7181, allocations: 8 kB / 0.7212 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004665/0.7186, allocations: 87.03 kB / 0.7212 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.7192, allocations: 155.7 kB / 0.7214 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.7205, allocations: 1.818 MB / 0.7232 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.7213, allocations: 63.59 kB / 0.7232 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.7214, allocations: 32 kB / 0.7233 GB, free: 2.734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003887/0.7218, allocations: 220.1 kB / 0.7235 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.722, allocations: 139.2 kB / 0.7236 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.7234, allocations: 0.5909 MB / 0.7242 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.7234, allocations: 3.984 kB / 0.7242 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7234, allocations: 0 / 0.7242 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/0.7239, allocations: 292.2 kB / 0.7245 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.7241, allocations: 15.92 kB / 0.7245 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/0.7248, allocations: 43.95 kB / 0.7245 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.7249, allocations: 27.91 kB / 0.7245 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001629/0.7266, allocations: 0.7009 MB / 0.7252 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001227/0.7278, allocations: 0.8772 MB / 0.7261 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002814/0.7281, allocations: 155.6 kB / 0.7262 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001423/0.7295, allocations: 1.096 MB / 0.7273 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of Backend: time 6.51e-07/0.7295, allocations: 3.969 kB / 0.7273 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004111/0.7337, allocations: 1.477 MB / 0.7288 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004556/0.7382, allocations: 2.906 MB / 0.7316 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.323/1.061, allocations: 29.13 MB / 0.76 GB, free: 218.5 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe 2>&1)