Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001356/0.001356, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.335/1.335, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2917/0.2917, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001457/0.001457, allocations: 67.89 kB / 451.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1315, allocations: 59.17 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.5485/0.68, allocations: 186.1 MB / 0.6802 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004796/0.6849, allocations: 1.933 MB / 0.6821 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009361/0.6859, allocations: 11.94 kB / 0.6821 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.6875, allocations: 381.6 kB / 0.6825 GB, free: 13.73 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.0025/0.6901, allocations: 0.8011 MB / 0.6832 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.6934, allocations: 1.076 MB / 0.6843 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002757/0.6961, allocations: 1.871 MB / 0.6861 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.6975, allocations: 0.6578 MB / 0.6868 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.6994, allocations: 0.8241 MB / 0.6876 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.7008, allocations: 0.7826 MB / 0.6883 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003531/0.7012, allocations: 92 kB / 0.6884 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.703, allocations: 0.6624 MB / 0.6891 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008143/0.7038, allocations: 0.8064 MB / 0.6898 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.7051, allocations: 0.9398 MB / 0.6908 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.7078, allocations: 2.427 MB / 0.6931 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7078, allocations: 4 kB / 0.6931 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7078, allocations: 0 / 0.6931 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.7079, allocations: 0 / 0.6931 GB, free: 2.758 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003508/0.7114, allocations: 2.369 MB / 0.6955 GB, free: 332 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7114, allocations: 11.89 kB / 0.6955 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.7123, allocations: 309 kB / 0.6958 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.7142, allocations: 1.38 MB / 0.6971 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.7143, allocations: 99.69 kB / 0.6972 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.7145, allocations: 84 kB / 0.6973 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.7162, allocations: 1.137 MB / 0.6984 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.7162, allocations: 0 / 0.6984 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.7163, allocations: 44 kB / 0.6984 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.7164, allocations: 37.98 kB / 0.6985 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.7177, allocations: 0.8272 MB / 0.6993 GB, free: 12.27 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.007308/0.725, allocations: 5.078 MB / 0.7042 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.7257, allocations: 321.2 kB / 0.7045 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.726, allocations: 138.5 kB / 0.7047 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.726, allocations: 12.58 kB / 0.7047 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.7261, allocations: 42.56 kB / 0.7047 GB, free: 6.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 3.607e-06/0.7261, allocations: 4 kB / 0.7047 GB, free: 6.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.002523/0.7286, allocations: 1.659 MB / 0.7064 GB, free: 4.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.7286, allocations: 81.11 kB / 0.7064 GB, free: 4.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/0.7326, allocations: 3.414 MB / 0.7098 GB, free: 1.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.7326, allocations: 37.7 kB / 0.7098 GB, free: 1.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007791/0.7334, allocations: 0.9594 MB / 0.7107 GB, free: 156 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.7335, allocations: 146.1 kB / 0.7109 GB, free: 8 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.7338, allocations: 130.2 kB / 0.711 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7339, allocations: 333.9 kB / 0.7113 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.7343, allocations: 209.2 kB / 0.7115 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.7348, allocations: 390.9 kB / 0.7119 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007849/0.7356, allocations: 0.5759 MB / 0.7125 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7356, allocations: 0 / 0.7125 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001417/0.737, allocations: 0.8486 MB / 0.7133 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.737, allocations: 11.84 kB / 0.7133 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.737, allocations: 8 kB / 0.7133 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.7371, allocations: 8 kB / 0.7133 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.7382, allocations: 223 kB / 0.7135 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006823/0.7389, allocations: 1.206 MB / 0.7147 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.7397, allocations: 31.98 kB / 0.7147 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.7398, allocations: 32.17 kB / 0.7148 GB, free: 11.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007865/0.7406, allocations: 0.5872 MB / 0.7153 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.7409, allocations: 217.3 kB / 0.7155 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000854/0.7418, allocations: 0.5339 MB / 0.7161 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.7418, allocations: 0 / 0.7161 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.7418, allocations: 11.88 kB / 0.7161 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006252/0.7424, allocations: 410.3 kB / 0.7165 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.7426, allocations: 8 kB / 0.7165 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/0.7435, allocations: 35.97 kB / 0.7165 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.7435, allocations: 31.7 kB / 0.7165 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001326/0.7449, allocations: 0.5715 MB / 0.7171 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001167/0.7461, allocations: 0.8946 MB / 0.718 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00023/0.7463, allocations: 143.5 kB / 0.7181 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003035/0.7493, allocations: 2.435 MB / 0.7205 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of Backend: time 7.31e-07/0.7493, allocations: 0 / 0.7205 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003091/0.7524, allocations: 1.125 MB / 0.7216 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006689/0.7591, allocations: 4.431 MB / 0.7259 GB, free: 240 kB / 0.5606 GB Notification: Performance of Templates: time 0.04912/0.8083, allocations: 27.19 MB / 0.7525 GB, free: 4.992 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)