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.001262/0.001262, allocations: 107.3 kB / 16.51 MB, free: 6.719 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.001177/0.001177, allocations: 190.5 kB / 17.42 MB, free: 6.066 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.428/1.428, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2982/0.2982, allocations: 48.84 MB / 319.5 MB, free: 11.29 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.001313/0.001313, allocations: 63.91 kB / 389.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 59.17 MB / 448.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.4564/0.5606, allocations: 193.2 MB / 0.6267 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003823/0.5645, allocations: 2.083 MB / 0.6287 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/0.5652, allocations: 8.75 kB / 0.6287 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.5665, allocations: 368 kB / 0.629 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.568, allocations: 0.6126 MB / 0.6296 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.5705, allocations: 0.9114 MB / 0.6305 GB, free: 260 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002743/0.5732, allocations: 2.506 MB / 0.633 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.5743, allocations: 0.5833 MB / 0.6336 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.5757, allocations: 0.6927 MB / 0.6342 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.5768, allocations: 0.6657 MB / 0.6349 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.577, allocations: 44 kB / 0.6349 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.5793, allocations: 1.126 MB / 0.636 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005688/0.5799, allocations: 0.5571 MB / 0.6366 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.5809, allocations: 0.6647 MB / 0.6372 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.5834, allocations: 2.072 MB / 0.6392 GB, free: 7.676 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5834, allocations: 4 kB / 0.6392 GB, free: 7.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.5834, allocations: 0 / 0.6392 GB, free: 7.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.5834, allocations: 0 / 0.6392 GB, free: 7.672 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.002453/0.5859, allocations: 1.578 MB / 0.6408 GB, free: 6.039 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5859, allocations: 8.031 kB / 0.6408 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/0.5868, allocations: 230.2 kB / 0.641 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.5879, allocations: 0.7604 MB / 0.6418 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.5879, allocations: 70 kB / 0.6418 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.5881, allocations: 88 kB / 0.6419 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.59, allocations: 1.252 MB / 0.6431 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.59, allocations: 3.938 kB / 0.6431 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.5902, allocations: 44 kB / 0.6432 GB, free: 3.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.5902, allocations: 41.98 kB / 0.6432 GB, free: 3.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.5916, allocations: 0.9327 MB / 0.6441 GB, free: 2.531 MB / 462.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.007643/0.5993, allocations: 5.049 MB / 0.6491 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.6001, allocations: 398.9 kB / 0.6494 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.6004, allocations: 177.6 kB / 0.6496 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.6005, allocations: 11.98 kB / 0.6496 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.6005, allocations: 50.56 kB / 0.6497 GB, free: 12.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/0.6005, allocations: 0 / 0.6497 GB, free: 12.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.003022/0.6036, allocations: 0.9674 MB / 0.6506 GB, free: 11.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.6036, allocations: 136.5 kB / 0.6507 GB, free: 11.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.6053, allocations: 1.554 MB / 0.6523 GB, free: 9.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/0.6054, allocations: 37.7 kB / 0.6523 GB, free: 9.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.6058, allocations: 0.5626 MB / 0.6528 GB, free: 9.141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.6059, allocations: 134.1 kB / 0.653 GB, free: 9.008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.6061, allocations: 122.1 kB / 0.6531 GB, free: 8.883 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6062, allocations: 337.9 kB / 0.6534 GB, free: 8.547 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.6066, allocations: 239.3 kB / 0.6536 GB, free: 8.309 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.6072, allocations: 432.5 kB / 0.654 GB, free: 7.793 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.608, allocations: 0.6265 MB / 0.6547 GB, free: 7.082 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.608, allocations: 1.562 kB / 0.6547 GB, free: 7.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001548/0.6095, allocations: 0.8795 MB / 0.6555 GB, free: 6.191 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6096, allocations: 8 kB / 0.6555 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6096, allocations: 11.94 kB / 0.6555 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.6112, allocations: 261.1 kB / 0.6558 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.6118, allocations: 135.8 kB / 0.6559 GB, free: 5.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.613, allocations: 1.411 MB / 0.6573 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.6138, allocations: 126.8 kB / 0.6574 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.6138, allocations: 28 kB / 0.6574 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006879/0.6145, allocations: 0.509 MB / 0.6579 GB, free: 3.656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004756/0.615, allocations: 437 kB / 0.6584 GB, free: 3.133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000766/0.6158, allocations: 0.6136 MB / 0.659 GB, free: 2.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/0.6158, allocations: 7.938 kB / 0.659 GB, free: 2.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00165/0.6175, allocations: 0.8556 MB / 0.6598 GB, free: 1.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6175, allocations: 8.062 kB / 0.6598 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.6175, allocations: 12 kB / 0.6598 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/0.618, allocations: 84.72 kB / 0.6599 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.6186, allocations: 151.8 kB / 0.66 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.6198, allocations: 1.814 MB / 0.6618 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/0.6205, allocations: 79.73 kB / 0.6619 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.6206, allocations: 32 kB / 0.6619 GB, free: 15.3 MB / 494.1 MB 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.0002608/0.6208, allocations: 229 kB / 0.6621 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.621, allocations: 130.6 kB / 0.6623 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6224, allocations: 0.6139 MB / 0.6629 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.6224, allocations: 4 kB / 0.6629 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6225, allocations: 7.938 kB / 0.6629 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.6225, allocations: 4 kB / 0.6629 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.6239, allocations: 1.035 MB / 0.6639 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.624, allocations: 4 kB / 0.6639 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.6243, allocations: 63.95 kB / 0.664 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.6255, allocations: 232.6 kB / 0.6642 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.6256, allocations: 7.938 kB / 0.6642 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.6268, allocations: 1.4 MB / 0.6655 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6268, allocations: 0 / 0.6655 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.6285, allocations: 0.8984 MB / 0.6664 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.629, allocations: 295.5 kB / 0.6667 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.6291, allocations: 4 kB / 0.6667 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/0.6299, allocations: 55.94 kB / 0.6668 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.63, allocations: 31.95 kB / 0.6668 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.6301, allocations: 31.97 kB / 0.6668 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.6314, allocations: 1.096 MB / 0.6679 GB, free: 9.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6314, allocations: 0 / 0.6679 GB, free: 9.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001398/0.6328, allocations: 0.5461 MB / 0.6684 GB, free: 8.457 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ConstantSpeed1.phi) * 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 (26): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.001489/0.6343, allocations: 0.6092 MB / 0.669 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.6363, allocations: 0.8951 MB / 0.6699 GB, free: 6.949 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.6364, allocations: 6.031 kB / 0.6699 GB, free: 6.945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.6369, allocations: 231.9 kB / 0.6701 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.6394, allocations: 0.5435 MB / 0.6707 GB, free: 6.172 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.6424, allocations: 2.296 MB / 0.6729 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.6431, allocations: 1.112 MB / 0.674 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009831/0.6441, allocations: 264.2 kB / 0.6742 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.6442, allocations: 67.44 kB / 0.6743 GB, free: 2.367 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6442, allocations: 0 / 0.6743 GB, free: 2.367 MB / 494.1 MB Notification: Performance of Templates: time 0.03728/0.6815, allocations: 25.37 MB / 0.6991 GB, free: 8.953 MB / 0.5137 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)