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.001017/0.001017, allocations: 113 kB / 17.29 MB, free: 6.059 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.0009987/0.0009987, allocations: 193.3 kB / 18.21 MB, free: 5.148 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.267/1.267, allocations: 205.1 MB / 224.1 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2561/0.2561, allocations: 48.84 MB / 320.2 MB, free: 11.26 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.00127/0.00127, allocations: 65.27 kB / 390.2 MB, free: 48.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08621, allocations: 59.15 MB / 449.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.3919/0.4781, allocations: 192.6 MB / 0.6269 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.4819, allocations: 2.074 MB / 0.6289 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007442/0.4827, allocations: 9.844 kB / 0.6289 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.4839, allocations: 374.8 kB / 0.6293 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.4853, allocations: 0.5945 MB / 0.6299 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.4879, allocations: 0.9254 MB / 0.6308 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.49, allocations: 1.898 MB / 0.6326 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.4911, allocations: 0.6615 MB / 0.6333 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.4925, allocations: 0.7826 MB / 0.634 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009959/0.4935, allocations: 0.693 MB / 0.6347 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.4937, allocations: 88 kB / 0.6348 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.4958, allocations: 1.052 MB / 0.6358 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.4963, allocations: 0.5961 MB / 0.6364 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000733/0.497, allocations: 0.7117 MB / 0.6371 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.4989, allocations: 1.583 MB / 0.6387 GB, free: 9.012 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4989, allocations: 0 / 0.6387 GB, free: 9.012 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4989, allocations: 0 / 0.6387 GB, free: 9.012 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.4989, allocations: 4 kB / 0.6387 GB, free: 9.008 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.002448/0.5014, allocations: 1.582 MB / 0.6402 GB, free: 7.371 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.5015, allocations: 11.89 kB / 0.6402 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/0.5024, allocations: 238.2 kB / 0.6404 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.5035, allocations: 0.7518 MB / 0.6412 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.5035, allocations: 66 kB / 0.6412 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.5037, allocations: 84 kB / 0.6413 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.5056, allocations: 1.248 MB / 0.6425 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.5056, allocations: 4 kB / 0.6425 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5057, allocations: 48 kB / 0.6426 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.5058, allocations: 34 kB / 0.6426 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.5072, allocations: 0.9328 MB / 0.6435 GB, free: 3.875 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.007256/0.5144, allocations: 5.051 MB / 0.6485 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/0.5152, allocations: 405.5 kB / 0.6488 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.5155, allocations: 177.6 kB / 0.649 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.5156, allocations: 15.98 kB / 0.649 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.5156, allocations: 46.56 kB / 0.6491 GB, free: 13.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.5156, allocations: 4 kB / 0.6491 GB, free: 13.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.00296/0.5186, allocations: 0.9635 MB / 0.65 GB, free: 12.81 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.5187, allocations: 132.5 kB / 0.6501 GB, free: 12.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.5205, allocations: 1.558 MB / 0.6517 GB, free: 11.08 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/0.5206, allocations: 37.7 kB / 0.6517 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.521, allocations: 0.5587 MB / 0.6523 GB, free: 10.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.5211, allocations: 142 kB / 0.6524 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.5213, allocations: 130.1 kB / 0.6525 GB, free: 10.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5215, allocations: 333.9 kB / 0.6528 GB, free: 9.871 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.5218, allocations: 231.3 kB / 0.6531 GB, free: 9.641 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.5224, allocations: 440.5 kB / 0.6535 GB, free: 9.117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.5232, allocations: 0.616 MB / 0.6541 GB, free: 8.418 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5233, allocations: 7.938 kB / 0.6541 GB, free: 8.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00151/0.5248, allocations: 0.8836 MB / 0.6549 GB, free: 7.516 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5248, allocations: 8 kB / 0.6549 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.5248, allocations: 8.625 kB / 0.655 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.5264, allocations: 256 kB / 0.6552 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.527, allocations: 135.8 kB / 0.6553 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.5282, allocations: 1.421 MB / 0.6567 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/0.529, allocations: 122.8 kB / 0.6568 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.5291, allocations: 31.98 kB / 0.6569 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007735/0.5299, allocations: 0.5168 MB / 0.6574 GB, free: 4.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000488/0.5304, allocations: 429 kB / 0.6578 GB, free: 4.461 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007763/0.5312, allocations: 0.6175 MB / 0.6584 GB, free: 3.754 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.5312, allocations: 7.938 kB / 0.6584 GB, free: 3.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001667/0.5329, allocations: 0.8478 MB / 0.6592 GB, free: 2.891 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.5329, allocations: 15.97 kB / 0.6592 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5329, allocations: 8 kB / 0.6592 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.5334, allocations: 86.03 kB / 0.6593 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.5341, allocations: 151.8 kB / 0.6595 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.5353, allocations: 1.822 MB / 0.6612 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.5361, allocations: 71.48 kB / 0.6613 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.5362, allocations: 32 kB / 0.6613 GB, free: 0.6367 MB / 478.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.0003157/0.5365, allocations: 232 kB / 0.6616 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.5367, allocations: 126.5 kB / 0.6617 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.5382, allocations: 0.6101 MB / 0.6623 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5382, allocations: 8 kB / 0.6623 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5382, allocations: 3.938 kB / 0.6623 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5382, allocations: 8.125 kB / 0.6623 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.5396, allocations: 1.035 MB / 0.6633 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5397, allocations: 7.984 kB / 0.6633 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.54, allocations: 71.83 kB / 0.6634 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.5412, allocations: 236.6 kB / 0.6636 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.5412, allocations: 4 kB / 0.6636 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.5424, allocations: 1.4 MB / 0.665 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5424, allocations: 0 / 0.665 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.5441, allocations: 0.8983 MB / 0.6659 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.5445, allocations: 287.5 kB / 0.6661 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.5447, allocations: 12 kB / 0.6661 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007709/0.5454, allocations: 60 kB / 0.6662 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.5455, allocations: 27.95 kB / 0.6662 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.5456, allocations: 27.97 kB / 0.6663 GB, free: 11.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00132/0.5469, allocations: 1.096 MB / 0.6673 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5469, allocations: 0 / 0.6673 GB, free: 10.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001444/0.5484, allocations: 0.55 MB / 0.6679 GB, free: 9.777 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.001509/0.5499, allocations: 0.5987 MB / 0.6685 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.552, allocations: 0.9199 MB / 0.6694 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.552, allocations: 4.656 kB / 0.6694 GB, free: 8.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.5526, allocations: 227.8 kB / 0.6696 GB, free: 8.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.555, allocations: 0.5749 MB / 0.6701 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.5581, allocations: 2.365 MB / 0.6724 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.5587, allocations: 1.112 MB / 0.6735 GB, free: 3.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.559, allocations: 79.44 kB / 0.6736 GB, free: 3.82 MB / 494.1 MB Notification: Performance of SimCode: time 6.52e-07/0.559, allocations: 0 / 0.6736 GB, free: 3.82 MB / 494.1 MB Notification: Performance of Templates: time 0.0323/0.5913, allocations: 26.69 MB / 0.6997 GB, free: 9.082 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)