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.001346/0.001346, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.001382/0.001382, allocations: 189.3 kB / 18.67 MB, free: 4.395 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.37/1.37, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2761/0.2761, allocations: 48.84 MB / 320.7 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.001488/0.001488, allocations: 67.89 kB / 451.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1161, allocations: 59.16 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.4806/0.5967, allocations: 194.7 MB / 0.6885 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003914/0.6007, allocations: 2.038 MB / 0.6905 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.6014, allocations: 11.94 kB / 0.6905 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.6028, allocations: 437.3 kB / 0.691 GB, free: 4.961 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.00156/0.6044, allocations: 0.6256 MB / 0.6916 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.6072, allocations: 1.003 MB / 0.6926 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.6096, allocations: 1.878 MB / 0.6944 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.611, allocations: 0.6848 MB / 0.6951 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.6129, allocations: 0.7774 MB / 0.6958 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.6144, allocations: 0.6345 MB / 0.6964 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.6147, allocations: 88 kB / 0.6965 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.6166, allocations: 0.7638 MB / 0.6973 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006269/0.6172, allocations: 0.5961 MB / 0.6979 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.6183, allocations: 0.7156 MB / 0.6985 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.6209, allocations: 2.022 MB / 0.7005 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.621, allocations: 0 / 0.7005 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.621, allocations: 0 / 0.7005 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.689e-05/0.621, allocations: 0 / 0.7005 GB, free: 11.14 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.003909/0.6249, allocations: 1.582 MB / 0.7021 GB, free: 9.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.625, allocations: 15.89 kB / 0.7021 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.6262, allocations: 230.2 kB / 0.7023 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.6277, allocations: 0.7597 MB / 0.703 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.6278, allocations: 66 kB / 0.7031 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.628, allocations: 91.91 kB / 0.7032 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.6303, allocations: 1.244 MB / 0.7044 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.6304, allocations: 3.938 kB / 0.7044 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.6305, allocations: 44 kB / 0.7045 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.6306, allocations: 42.75 kB / 0.7045 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.6322, allocations: 0.9327 MB / 0.7054 GB, free: 6 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.007696/0.6399, allocations: 4.962 MB / 0.7103 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008436/0.6407, allocations: 391.2 kB / 0.7106 GB, free: 288 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.6411, allocations: 186.3 kB / 0.7108 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.6411, allocations: 11.73 kB / 0.7108 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.6412, allocations: 53.06 kB / 0.7109 GB, free: 24 kB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 3.206e-06/0.6412, allocations: 0 / 0.7109 GB, free: 24 kB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.003268/0.6445, allocations: 0.963 MB / 0.7118 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6446, allocations: 136.3 kB / 0.7119 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.6469, allocations: 1.562 MB / 0.7135 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-05/0.647, allocations: 33.7 kB / 0.7135 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.6475, allocations: 0.5588 MB / 0.714 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.6477, allocations: 141.9 kB / 0.7142 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.648, allocations: 138.1 kB / 0.7143 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6481, allocations: 329.9 kB / 0.7146 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.6485, allocations: 235.3 kB / 0.7148 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.6491, allocations: 448.5 kB / 0.7153 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.65, allocations: 0.6226 MB / 0.7159 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.6501, allocations: 0 / 0.7159 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001768/0.6518, allocations: 0.8761 MB / 0.7167 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.6519, allocations: 12.12 kB / 0.7167 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6519, allocations: 8 kB / 0.7168 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.6535, allocations: 249.5 kB / 0.717 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.6541, allocations: 135.8 kB / 0.7171 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.6556, allocations: 1.415 MB / 0.7185 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/0.6565, allocations: 106.7 kB / 0.7186 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/0.6566, allocations: 35.98 kB / 0.7186 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007825/0.6573, allocations: 0.5089 MB / 0.7191 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000522/0.6579, allocations: 433 kB / 0.7196 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008689/0.6588, allocations: 0.6174 MB / 0.7202 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/0.6588, allocations: 8 kB / 0.7202 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001693/0.6605, allocations: 0.8477 MB / 0.721 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6605, allocations: 11.91 kB / 0.721 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6605, allocations: 8 kB / 0.721 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/0.661, allocations: 88.22 kB / 0.7211 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.6617, allocations: 162.1 kB / 0.7212 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.6628, allocations: 1.818 MB / 0.723 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/0.6636, allocations: 51.58 kB / 0.7231 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.6637, allocations: 35.98 kB / 0.7231 GB, free: 2.883 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.000286/0.6639, allocations: 224.2 kB / 0.7233 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.6642, allocations: 130.5 kB / 0.7234 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.6655, allocations: 0.5963 MB / 0.724 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.6655, allocations: 8 kB / 0.724 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6655, allocations: 0 / 0.724 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.6661, allocations: 283.6 kB / 0.7243 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.6663, allocations: 11.94 kB / 0.7243 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009015/0.6672, allocations: 43.95 kB / 0.7244 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.6673, allocations: 27.95 kB / 0.7244 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00165/0.669, allocations: 0.6891 MB / 0.7251 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001284/0.6702, allocations: 0.8844 MB / 0.7259 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002834/0.6705, allocations: 163.6 kB / 0.7261 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001566/0.6721, allocations: 1.096 MB / 0.7271 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of Backend: time 4.11e-07/0.6721, allocations: 0 / 0.7271 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004416/0.6766, allocations: 1.475 MB / 0.7286 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005009/0.6816, allocations: 2.854 MB / 0.7314 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of Templates: time 0.3037/0.9853, allocations: 28.95 MB / 0.7596 GB, free: 218.2 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)