Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCC.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.TestCC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCC") translateModel(ThermoPower.Test.GasComponents.TestCC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 106.3 kB / 17.74 MB, free: 5.336 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: 185.4 kB / 18.67 MB, free: 4.414 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.257/1.257, allocations: 205.1 MB / 224.5 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.2619/0.2619, allocations: 48.85 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.001337/0.001337, allocations: 67.89 kB / 451.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.1003, allocations: 59.16 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCC): time 0.4205/0.5208, allocations: 212.1 MB / 0.7055 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003705/0.5246, allocations: 2.077 MB / 0.7076 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005183/0.5251, allocations: 15.88 kB / 0.7076 GB, free: 3.906 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.5264, allocations: 0.5088 MB / 0.7081 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.5279, allocations: 0.676 MB / 0.7087 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.5306, allocations: 1.15 MB / 0.7099 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.5332, allocations: 2.27 MB / 0.7121 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.5346, allocations: 0.9263 MB / 0.713 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.536, allocations: 0.9216 MB / 0.7139 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.5372, allocations: 0.7047 MB / 0.7146 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.5374, allocations: 112 kB / 0.7147 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.5392, allocations: 0.869 MB / 0.7155 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006191/0.5399, allocations: 0.6781 MB / 0.7162 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009999/0.5409, allocations: 0.7979 MB / 0.717 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.5433, allocations: 2.256 MB / 0.7192 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5433, allocations: 0 / 0.7192 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5433, allocations: 0 / 0.7192 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.747e-05/0.5434, allocations: 0 / 0.7192 GB, free: 8.016 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.002732/0.5461, allocations: 1.534 MB / 0.7207 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5462, allocations: 11.89 kB / 0.7207 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.5473, allocations: 254.4 kB / 0.7209 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.5484, allocations: 0.6443 MB / 0.7216 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.5485, allocations: 86.23 kB / 0.7216 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.5487, allocations: 123.9 kB / 0.7218 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.5511, allocations: 1.579 MB / 0.7233 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.5512, allocations: 0 / 0.7233 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.5513, allocations: 55.94 kB / 0.7233 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/0.5514, allocations: 50.2 kB / 0.7234 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.5532, allocations: 1.191 MB / 0.7246 GB, free: 2.324 MB / 0.5606 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.007779/0.561, allocations: 6.486 MB / 0.7309 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.5621, allocations: 0.5492 MB / 0.7314 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.5626, allocations: 362.3 kB / 0.7318 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.5626, allocations: 12.55 kB / 0.7318 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.5627, allocations: 51.12 kB / 0.7318 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 2.224e-06/0.5627, allocations: 0 / 0.7318 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.01065/0.5733, allocations: 3.788 MB / 0.7355 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.5734, allocations: 115.3 kB / 0.7356 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5745, allocations: 0.8991 MB / 0.7365 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.5746, allocations: 45.7 kB / 0.7366 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.575, allocations: 475.4 kB / 0.737 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.5752, allocations: 248.4 kB / 0.7373 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.5755, allocations: 166.6 kB / 0.7374 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5756, allocations: 341.9 kB / 0.7377 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.5763, allocations: 456.6 kB / 0.7382 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.5771, allocations: 0.5889 MB / 0.7388 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.5785, allocations: 1.035 MB / 0.7398 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5785, allocations: 0 / 0.7398 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002791/0.5813, allocations: 1.563 MB / 0.7413 GB, free: 232 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.5814, allocations: 8 kB / 0.7413 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5814, allocations: 4 kB / 0.7413 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/0.5846, allocations: 0.876 MB / 0.7422 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.5852, allocations: 113 kB / 0.7423 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.5876, allocations: 2.176 MB / 0.7444 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.5883, allocations: 35.91 kB / 0.7444 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/0.5884, allocations: 48 kB / 0.7445 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009402/0.5894, allocations: 0.6736 MB / 0.7451 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007475/0.5901, allocations: 0.5981 MB / 0.7457 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/0.5915, allocations: 1.016 MB / 0.7467 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.5915, allocations: 0 / 0.7467 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002828/0.5944, allocations: 1.527 MB / 0.7482 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5944, allocations: 8 kB / 0.7482 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5944, allocations: 4.438 kB / 0.7482 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/0.5964, allocations: 0.6612 MB / 0.7489 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.597, allocations: 151.8 kB / 0.749 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.5993, allocations: 2.532 MB / 0.7515 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.6, allocations: 31.97 kB / 0.7515 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/0.6001, allocations: 48 kB / 0.7515 GB, free: 5.457 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (65): * Single equations (assignments): 63 * 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 {(9,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.6004, allocations: 232.1 kB / 0.7518 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.6006, allocations: 94.97 kB / 0.7519 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.6029, allocations: 1.273 MB / 0.7531 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.6029, allocations: 3.984 kB / 0.7531 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6029, allocations: 0 / 0.7531 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.6032, allocations: 176 kB / 0.7533 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6034, allocations: 27.92 kB / 0.7533 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009788/0.6043, allocations: 59.94 kB / 0.7534 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.6045, allocations: 52.58 kB / 0.7534 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002882/0.6074, allocations: 1.327 MB / 0.7547 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002551/0.6099, allocations: 1.623 MB / 0.7563 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006254/0.6106, allocations: 460.9 kB / 0.7567 GB, free: 76 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.1918/0.8024, allocations: 0.6346 MB / 0.7573 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of Backend: time 1.092e-06/0.8024, allocations: 1.406 kB / 0.7573 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005354/0.8078, allocations: 2.104 MB / 0.7594 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.004541/0.8123, allocations: 3.102 MB / 0.7624 GB, free: 217.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.04798/0.8603, allocations: 39.3 MB / 0.8008 GB, free: 198.1 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCC.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCC.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe 2>&1)